Wondering if anyone has pulled this off. Some products have special sales that require more obvious notes and putting them in the description never seems to work or on products with lots of product options, we want people to see the notice faster.
So all I need to know is this: if I use my Location field to enter special notices, what php code do I need to put in the product template in order for that text to show up when applicable? Styling and such I can do, I just need to know how to make it appear when it's available.
I should be more specific - including it is easy enough for me (add bit to controller, do the include for location in the template) but I need to know how to do an "if location has a value then use this code and if it is empty show nothing" bit. So I can apply a style to it without just having an empty box appear when no location is specified.
Who is online
Users browsing this forum: No registered users and 29 guests