Free delivery

This topic has been marked as resolved.

How can I add on product page automaticly free delivery icon by product price? Example if product price is less than 100 it will not show if above than 100 it will show free delivery icon on product page.

 Celsin
July 6, 2018 at 4:00 pm #64796

Hi,

Unfortunately such kind of check is not possible only from Page Builder. You will need some custom code on the product page template.

1) Open catalog/view/theme/BurnEngine/template/product/product.tpl

2) Find this code line:

<?php echo $footer; ?>

3) Insert this piece of code right before the footer line:

<?php $tbData->slotStart('product/product.product_delivery', array('data' => $data)); ?>
<?php if ($product_info['price_num'] >= 100): ?>

PUT DELIVER TEXT / ICON HERE

<?php endif; ?>
<?php $tbData->slotStop(); ?>

4) You can now insert the custom block from Page Builder:

https://i.imgur.com/dvbqC8d.png

BR,
ThemeBurn team

July 6, 2018 at 4:17 pm #64798

Am I doing somthings wrong?

I add on catalog/view/theme/BurnEngine/template/product/product.tpl

slotStart(‘product/product.product_delivery’, array(‘data’ => $data)); ?>
= 130): ?>

slotStop(); ?>

And I insert from Page Builder also

http://prntscr.com/k3bkm6

 Celsin
July 6, 2018 at 4:37 pm #64800

I add your giving code.

  • This reply was modified 2121 days ago by  Celsin.
  • This reply was modified 2121 days ago by  Celsin.
 Celsin
July 6, 2018 at 4:38 pm #64801

Ok it is work :)
I was check wrong product less then 100 :)

 Celsin
July 6, 2018 at 5:06 pm #64806

Hi,

Good functionality! Thanks for #Celsin and #TB Support

Question for TB Support. Is it possible (text or icon – “Free shiping”) use like in example – see in image below.

BR

 JAZZLT
July 9, 2018 at 10:22 am #64811

@JAZZLT

Unfortunately this is not possible without heavy modification.

BR,
ThemeBurn team

July 20, 2018 at 4:20 pm #64906
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.