Hello,
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...
Thanks
Solved! Go to Solution.
Hello rastaball,
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:
http://www.screencast.com/users/MrKhoa/folders/Default/media/29b1eda6-e5c5-478e-9d93-a71b5f549bd6
Hello rastaball,
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:
http://www.screencast.com/users/MrKhoa/folders/Default/media/29b1eda6-e5c5-478e-9d93-a71b5f549bd6
Thanks a lot. That´s it!