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-04-2016, 08:57 AM
 
FactorInteractivo FactorInteractivo is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 44
 

Default Module to add "Sale" tag on product listings

Hi everyone !

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-Carting since 2006
Reply With Quote
  #2  
Old 05-04-2016, 10:40 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Module to add "Sale" tag on product listings

Is it for X-Cart 4, or X-Cart 5?
Your signature states that you are rocking since 2006, but it does not reveal your actual X-Cart version Please can you add it there?
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 05-06-2016, 07:31 AM
 
FactorInteractivo FactorInteractivo is offline
 

Advanced Member
  
Join Date: Oct 2007
Posts: 44
 

Default Re: Module to add "Sale" tag on product listings

Quote:
Originally Posted by qualiteam
Is it for X-Cart 4, or X-Cart 5?
Your signature states that you are rocking since 2006, but it does not reveal your actual X-Cart version Please can you add it there?

This is for X-Cart 5.2.13
__________________
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 06:36 PM.

   

 
X-Cart forums © 2001-2020