Using a trigger to display text in txt_cart_header
I thought I'd ask the forum this as the X-cart guys seem to be a bit snowed under.
I got them to sort out some free gift code e.g. spend x amount and choose from a selection of gifts, which shows underneath the cart contents of the checkout page if the trigger amount has been reached.
Looking at it now, I would like to be able to have some text pop up in txt_cart_header once that trigger has been reached, saying something like "Congratulations, you've spent enough for a free gift, please select from the items at the bottom of this page". I was thinking something along the lines of getting it to trigger when it sees the free gift label (lbl_free_gift) which in itself is triggered when the amount is reached. How would I instigate this trigger within txt_cart_header -some sort of "if" statement?
Thanks
Dan
__________________
4.4.2
and
4.6.1
|