| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Showing discounted price | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() hmm...i've tried but maybe it's not within this code. i can only find one line in product.tpl that differs from products.tpl and changing that line doesnt help. sowwy!
__________________
X-Cart Gold 4.4.3 -------------------------------------- |
|||||||||
#12
|
|||||||
|
|||||||
![]() The 'discount' that its calculating here is the difference in 'price' (Market price) and list price (online price). I can't see where it pulls in the discount value and makes a calculation based on this.
I was talking about 1. flagging an item 'Available for global discount', 2. setting the global discount as a provider to a percentage value 3. then hoping to see it affect all the items price from step 1. Maybe its not possible ![]()
__________________
Version 4.1.3 pro |
|||||||
#13
|
|||||||||
|
|||||||||
![]() Quote:
I think (but not sure) that the 'discount_avail' applies to membership level, like if you sell wholesale to certain members (customers). That way "Wholesale" customers would see prices with the dicount applied to the products with the 'discount_avail' and normal pricing on items that it doesn't apply. Perhaps someone that actually knows for sure will chime in.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#14
|
|||||||||
|
|||||||||
![]() Quote:
The areas that you are referencing ("Market Price" and "Product Price") are what I was referring to in the other thread ("Specials") http://forum.x-cart.com/showthread.php?t=1144&page=5 The has to be some way to query the database to find products that have a difference and display them, I just don't know how.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#15
|
|||||||
|
|||||||
![]() Actually, I think you could just hit the 'discounts' table yourself (inthe PHP) for the discount value and then add it to Smarty before calling the template THEN do a calculation. Actually, it would be better to loop over the $products array int he PHP and make a new column called 'discounted price' (or something) and then just reference this in the template.
Boring but it works I guess.
__________________
Version 4.1.3 pro |
|||||||
|
|||
X-Cart forums © 2001-2020
|