| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Special Offers Module | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||||
|
|||||||||
No problem.......
If you want to add this to other pages just add the include, in the case of the about us page add the include to skin1/help/about.tpl where you want it to appear: Code:
You also need to add the require to the appropiate .php script, in this case it would be xcart/customer/help.php. Just add the require below the last require in that script: Code:
Enjoy!
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#22
|
|||||||
|
|||||||
great, I will set it up somewhere where it will show more products on about.tpl instead of 4, i will put about 12.
Thanks.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#23
|
|||||||||
|
|||||||||
I have a client that wants this mod to show the newest products only in the last 60 days. Can anyone tell me what argument to use?
I suppose it would tie to the add_date timestamp in the xcart_products database, something to the effect of "AND < 60" where 60 is the number of days from the current day we want to show the newest products, I just need to know what the proper format would be for the unix timestamp and how to show only products "less than 60 day old".
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#24
|
|||||||
|
|||||||
unix time is in seconds
therefore 60 days is 60*60*24*24
__________________
ex x-cart guru |
|||||||
#25
|
|||||||
|
|||||||
Duplicate Entries
So I get duplicate entries in the Specials section frequently, and always if I only have one item on special. Am using the RAND function so can understand when more than 4 products on special, but it always shows two off the same item when it's only one product. You can see it at http://hydrangeasplus.com and hit refresh a couple of times and you'll see duplicates. Not a real big deal, but still curious. Any ideas?
__________________
xcart v4.4.1 |
|||||||
#26
|
|||||||||
|
|||||||||
Here's one for anyone running this with 4.0.3.
Using this mod it does not display the price, It displays this instead: "enter your price". I am working on finding the fix for this but if anyone can help it would be greatly appreciated and it sure would help others that use this in 4.0.x branch of xcart. Likewise, if/when I figure out a fix I will post it here.
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
#27
|
|||||||
|
|||||||
Quote:
Please do, I am currently upgrading a store to 4.03 and was wondering what changes may be required to get this workable for the newer version. Thanks to those that may be of help
__________________
vs 4.1.12 |
|||||||
#28
|
|||||||
|
|||||||
What a great mod, thanks a lot, have been using it for a little while and its working a treat.
|
|||||||
#29
|
|||||||
|
|||||||
Quote:
thanx
__________________
ex x-cart guru |
|||||||
#30
|
|||||||||
|
|||||||||
funkydunk,
Quote:
Have any idea what to change in the script to get it to work properly with 4.0.3? I have not had time with my schedule to check into it yet.
__________________
Web site design - Custom Programming - Upgrades - Marketing www.netvisionwebdesign.com Follow on twitter: http://twitter.com/netvisionweb Become a fan on Facebook: http://www.facebook.com/pages/NetVision-Web-Design/89463493419 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|