Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Module to add "Sale" tag on product listings

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 05-31-2016, 10:15 AM
 
FactorInteractivo FactorInteractivo is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 44
 

Exclamation Module to add "Sale" tag on product listings

I´m trying to create a module to add an "On Sale" graphical tag similar to the one displayed when the product has a sale price in listings (as when using the wholesale module), but we need to do it based on a global attribute which will set some products flagged as "On sale". The question is: How can I retrieve this attribute value from the DB so as to apply this tag when the product is "on sale" on the product´s Tpls ?

Thanks !

(X-Cart 5.2.15)
__________________
X-Carting since 2006
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:07 PM.

   

 
X-Cart forums © 2001-2020