| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Special Offers Module | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Quote:
How is this coming along? |
|||||||
#12
|
|||||||
|
|||||||
![]() This has been done.
lhs menu shows a selection of three products that have a discount applied then a link to a special offers page that lists all products with the normal navigation through the pages.
__________________
ex x-cart guru ![]() |
|||||||
#13
|
|||||||
|
|||||||
![]() How much is 120L in dollars?
|
|||||||
#14
|
|||||||
|
|||||||
![]() 120 what?
__________________
ex x-cart guru ![]() |
|||||||
#15
|
|||||||
|
|||||||
![]() Your site says that that mod costs 120L.
|
|||||||
#16
|
|||||||
|
|||||||
![]() sorry - you lost me then... the L is actually a бё GBP
if you pm me I can confirm details of costings etc.
__________________
ex x-cart guru ![]() |
|||||||
#17
|
|||||||||
|
|||||||||
![]() Does anyone know if this works in 3.5.x?
I need this for a client with 3.5.4 but we want to modify it to just randomly pull 6 items from the database to display without being dependent on the item being marked down. In other word he does not show marked down items but want the home page to always be fresh. UPDATED: See my fix below to use this with or without discounted products in 3.5.x!
__________________
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 |
|||||||||
#18
|
|||||||
|
|||||||
![]() I am getting this error after I add - specials.php in home.php
INVALID SQL: 1054 : Unknown column 'discount' in 'where clause' SQL QUERY FAILURE: SELECT * FROM xcart_products,xcart_pricing WHERE forsale='Y' AND avail>0 AND xcart_products.productid=xcart_pricing.productid AND discount > 0 ORDER BY RAND() LIMIT 6 Version 3.4.0
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#19
|
|||||||||
|
|||||||||
![]() just change the following code in specials.php
Code:
to Code:
This will just randomly pull products from the database regardless of any discounts. And if you only want to show products you have discounted from the list price use this: Code:
Change LIMIT 6 to any number of products you want to show in the specials.tpl Also be sure to name the specials template specials.tpl. I noticed in the original code it was named special.tpl. I have tested this in 3.5.4 and works like a charm ![]() hth
__________________
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 |
|||||||||
#20
|
|||||||
|
|||||||
![]() Great Thanks Works Perfect.
Also Is there anyway to modify this to be shown on help section page - like about us page.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|