_('Description'); ?>
renderHtml($listing['description'], false, false); ?>
0) { ?>
_('Specifications'); ?>
- _($field['label']); ?>
- fieldDisplay($field['display'], null, '-'); ?>
_('Payments & Returns'); ?>
- _('Payment Methods'); ?>
- fieldDisplay(array_map(function ($array) use (&$object) {
return $object->_($array['name']);
}, $listing->getPaymentMethods()), null, 'N/A'); ?>
- _('Returns Accepted'); ?>
- fieldDisplay($listing['accept_returns'], $this->_('Yes'), $this->_('No')); ?>
- _('Returns Policy'); ?>
settings['enable_shipping']) {
$shipsTo = $this->listingDetails()->shipsTo($seller->getShipping());
?>
_('Postage & Shipping'); ?>
- _('Item Location'); ?>
- fieldDisplay($this->listingDetails()->location(), null,
$this->_('n/a')); ?>
pickUpOnly()) { ?>
- _('Ships To'); ?>
- fieldDisplay($shipsTo, null, $this->_('No shipping available.')); ?>
pickUpOnly() && !empty($listing['country']) && count($shipsTo)) { ?>
_('Postage Calculator'); ?>
partial('partials/shipping-calculator.phtml', array(
'quantity' => 1,
'listingId' => $listing['id'],
'user' => $seller)); ?>
settings['enable_pickups']) { ?>
- _('Pick-ups'); ?>
-
_(
$this->fieldDisplay(\Ppb\Model\Shipping::getPickupOptions($listing->getData(\Ppb\Model\Shipping::FLD_PICKUP_OPTIONS)),
null, 'n/a')); ?>
pickUpOnly()) { ?>
- _('Insurance'); ?>
-
amount($listing[\Ppb\Model\Shipping::FLD_INSURANCE],
$listing['currency']); ?>
getShipping()->getPostageType()) { ?>
- _('Item Weight'); ?>
- listingDetails()->weight(); ?>
- _('Dimensions'); ?>
- fieldDisplay($this->listingDetails()->dimensions()); ?>
- _('Shipping Instructions'); ?>
-
fieldDisplay($this->renderText($listing[\Ppb\Model\Shipping::FLD_SHIPPING_DETAILS], true), null,
'-'); ?>
settings['enable_messaging']) { ?>
_('Public Questions'); ?>
partial('partials/messages.phtml', array(
'listing' => $listing)); ?>
loggedInUser['id'])) { ?>
_('You need to be logged in to ask the seller a question.'); ?>
_('Click here to login'); ?>
loggedInUser['id'] != $listing['user_id']) {
?>
action('create', 'messaging', 'members', array(
'receiver_id' => $listing['user_id'],
'listing_id' => $listing['id'],
'topic_type' => \Ppb\Service\Messaging::PRIVATE_QUESTION,
'accept_public_questions' => $seller->acceptPublicQuestions(),
)); ?>
settings['other_items_seller']) { ?>
action('listings', 'browse', 'listings',
array('type' => 'seller-other-items', 'user_id' => $listing['user_id'], 'current_listing_id' => $listing['id'])); ?>