| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Show Products On Offer | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Show Products On Offer
Hi All,
Been thinking about this for a while, but just never been able to get my head around what I want to do! I just want to be able to have a page that shows all products that are on special offer. I want to display all products that have a "market price" - But have no idea how I would get that? I don't mind where the page is - At the moment, I'm just using the standard "offers.php" page from the "X-Cart Special Offers" module. Any help would be great! Jean
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Show Products On Offer
You can create a search page where market price > 0. If default search can't do it it's not hard to custom code one
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Show Products On Offer
Thanks, Steve! - I looked a little further into it and I've managed to get a list of products with list_price > 0
(I'm now not sure that this is the route that I'm going to go down, but for the purpose of getting this to work, for now, I'll go with it - I can always adjust the query afterwards!) Currently, I've used this: http://forum.x-cart.com/showthread.php?t=1144 And edited it to suit what I want. This now shows my list of products, with a list_price > 0 on the welcome.tpl template! However, I don't want it on the main page, I want it on "offers.php" in the xcart/modules/special_offers - Which is linked to from the main page. But I can't get it to display? I've tried adding both of these (separately!) in to offers.php, but it doesn't show: require $xcart_dir."/specials.php"; require "./specials.php"; In webmaster mode, it doesn't pick up $specials - So it's definitely a php thing, not a template thing? I'm piecing together bits from my limited knowledge - But I'm probably doing something daft? Thanks for any help!
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Show Products On Offer
*sniggers*
I think I'm using the wrong offers.php !? There's another, not in the "modules", but in the root xcart directory? .. mind you, I tried it there, too - and it still doesn't work!
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Show Products On Offer
What we did was instead of using special offers module, we created a normal product category called "Specials" (or whatever) and used this third-party module:
http://www.websitecm.com/x-cart-mods/multiple-product-listing-templates-for-xcart.html It allows you to assign a different style of template to each category/subcategory. So we modified the existing product listing template to display only particular data (such as the market price) and assigned it to that category only... Useful mod - I think XC should include this facility is future versions Regards Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!) Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x Multiple Instances of X-Cart MySQL 5.6.37 CentOS 7.4 Chamber Internet - Lancashire, United Kingdom http://www.chamberelancs.co.uk |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Show Products On Offer
It's an option, definitely - However, I've already had X-Cart modify the way that X-Cart handles free products (it now puts the free items in the cart automatically, instead of having to go back and add them manually!)
If it wasn't for this, I'd definitely look in to that way of doing it. Thanks!
__________________
4.2.3 X-Cart Gold BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers -------[installed]----------------------[installed]--------------[installed]----[installed]-- 5: in development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|