Post by WaxedPerfection » Tue Aug 08, 2017 12:24 am

Hi All....

Within my coupon section during checkout, i have the following line of code to warn customers discount codes will not work on this sale / special price item, while it works great in the php file of OC2, it will not work on twig files in OC3, any ideas?

/catalog/view/theme/default/template/total/coupon.php

<p><div class="alert alert-warning">'Note: Coupons not valid on already <a href="http://www.websiteurl.co.uk/index.php?r ... discounted products</a>'.</div></p>

/public_html/catalog/view/theme/default/template/extension/total/coupon.twig

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by WaxedPerfection » Sat Aug 12, 2017 4:29 am

Can anyone help?

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by WaxedPerfection » Sat Aug 12, 2017 7:06 am

Twig has caching, which i didn't know... just turn it off in admin if anyone else is having twig issues.

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 21 guests