Hi,
I am trying to add a small I frame block just bellow the promo filed in cart page.
promotion_coupon.tpl
I am trying to add the tag to it.
Nothing shows up.
.tpl file accept iframe tag right. ?
Do correct me if I am wrong. thanks,
Thanks,
any Smarty… experts ?
Hi, you can hook to checkout:payment_extra
for cs-cart 4.0.1 with one store with my_changes addon enabled
#add into [color=#ff0000]design/themes/basic/templates/addons/my_changes/hooks/checkout/payment_extra.pre.tpl[/color]
```php
```
I hope that helps,
---
Valentin
[color=#808080][size=2]part of hungryweb.net[/size][/color]
Hi,
Thanks for the solution. I am using cs cart version 3. I created same hook folder tree [color=#FF0000][font=arial, verdana, tahoma, sans-serif]/addons/my_changes/hooks/checkout/payment_extra.pre.tpl [/font][/color]And added my own iframe to that file
Since I am using version 3 there is no file [color=#FF0000][font=arial, verdana, tahoma, sans-serif] [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]checkout:payment_extra [/font][/color]
[color=#282828][font=arial, verdana, tahoma, sans-serif]ca you specify which file exactly. Thanks[/font][/color]
[font=arial, verdana, tahoma, sans-serif][color=#282828]​thanks for the help .[/color][/font]
Edited:
Glad It worked.
I feel so silly of me. didn't clear caches
How to clear caches
http://www.your_doma…om/admin.php?cc[color=#555555] [/color]
@vali thanks for the help.
There is one more way to insert code directly . cart.tpl. ( I did this change 5 hours back and didn't see any difference) silly mistake of not clearing the caches made me to waste lot of time.
Once again Thanks @vali
Hope my experience helps others …
You are welcome.