I´m trying to get the delivery information in the catalog view.
I´m using the following code in the list.phtml:
<?php echo $this->__('Lieferzeit:') ?> <?php echo $_product->getdelivery_time() ?>
It doesn´t work. can anybody tell me what I´m doingt wrong? Hope somebody can help a Magento beginner...
Solved! Go to Solution.
Which's version of Magento you currently use? Magento 1 or 2? I saw you Labels: magento2. If using Magento 1, you try:
<?php echo $_product->getDeliveryTime(); ?>
=> uppercase letters
Sure that you set its configuration to show in product listing page: Catalog > Attributes > Manage Attributes > choose your Delivery Time attribute -> Used in Product Listing -> choose Yes.
See my screenshot: