| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Show Wholesale Prices On Product Listing 4.2 | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Does anyone know how to show the discounts for quantiy on products listing when logged in.
This is from product.tpl <script type="text/javascript"> <!-- var min_avail = {$product.appearance.min_quantity|default:1}; var avail = {$product.appearance.max_quantity|default:1}; var product_avail = {$product.avail|default:"0"}; --> </script> <input type="text" id="product_avail_input" name="amount" maxlength="11" size="6" onchange="javascript: return check_quantity_input_box(this);" value="{$smarty.get.quantity|default:$product.appe arance.min_quantity}"{if not $product.quantity_input_box_enabled} disabled="disabled" style="display: none;"{/if}/> <select id="product_avail" name="amount"{if $active_modules.Product_Options ne '' && ($product_options ne '' || $product_wholesale ne '')} onchange="javascript: check_wholesale(this.value);"{/if}{if $product.quantity_input_box_enabled} disabled="disabled" style="display: none;"{/if}> <option value="{$product.appearance.min_quantity}"{if $smarty.get.quantity eq $product.appearance.min_quantity} selected="selected"{/if}>{$product.appearance.min_quantity}</option> {if not $product.quantity_input_box_enabled} {section name=quantity loop=$product.appearance.loop_quantity start=$product.appearance.min_quantity} {if %quantity.index% ne $product.appearance.min_quantity} <option value="{%quantity.index%}"{if $smarty.get.quantity eq %quantity.index%} selected="selected"{/if}>{%quantity.index%}</option> {/if} {/section} {/if} </select> {else} How do I add part od this code to the products.tpl so it will show on product listing?
__________________
X-Cart Gold 4.31, 4.23 and so and so forth... Add-on: X-Affiliate Add-on: X-Configurator Add-on: X-RMA (Return Merchandise Authorization) Add-on: X-FeatureComparison Add-on: X-SpecialOffers Add-on: X-AOM (Advanced Order Management) Tabs for product pages www.definedmedia.com |
|||||||
#2
|
|||||||
|
|||||||
![]() Help
__________________
X-Cart Gold 4.31, 4.23 and so and so forth... Add-on: X-Affiliate Add-on: X-Configurator Add-on: X-RMA (Return Merchandise Authorization) Add-on: X-FeatureComparison Add-on: X-SpecialOffers Add-on: X-AOM (Advanced Order Management) Tabs for product pages www.definedmedia.com |
|||||||
#3
|
|||||||
|
|||||||
![]() Could you be a bit more specific on what you want and where?
|
|||||||
#4
|
|||||||
|
|||||||
![]() Thanks for looking at this.. on the product page when logged in.... We have a product that has some wholesale rates applied. Xcart will show a small table with quantity and price. so in this case we have 2 wholesale rates shown in the table. This displays fine on the product page but we need the table of wholesale rates values to display in the product listing page.
The reason is clients cant tell they get a discount when they change quantity unless they go to the detail page to see wholesale rates. so all i need t do is add the wholesale rate table to the product listing page I woud like to put this table under the product thumbnail on both product page and product listing page
__________________
X-Cart Gold 4.31, 4.23 and so and so forth... Add-on: X-Affiliate Add-on: X-Configurator Add-on: X-RMA (Return Merchandise Authorization) Add-on: X-FeatureComparison Add-on: X-SpecialOffers Add-on: X-AOM (Advanced Order Management) Tabs for product pages www.definedmedia.com |
|||||||
#5
|
|||||||||
|
|||||||||
![]() you will need to change teh code quite a bit, and possibly the PHP to call the data needed to be displayed on the products.tpl.
__________________
xcart 5.1.2 |
|||||||||
#6
|
|||||||
|
|||||||
![]() Its a bit shocking that this is a big deal. Why on earth would they add 1 click to the process?
I used to think a mouseclick wasnt a big deal but it does... I would change the code to do it right but we are looking at new versions soon and will stick with xcart til ver 5 then evaluate is its worth it...
__________________
X-Cart Gold 4.31, 4.23 and so and so forth... Add-on: X-Affiliate Add-on: X-Configurator Add-on: X-RMA (Return Merchandise Authorization) Add-on: X-FeatureComparison Add-on: X-SpecialOffers Add-on: X-AOM (Advanced Order Management) Tabs for product pages www.definedmedia.com |
|||||||
#7
|
|||||||||
|
|||||||||
![]() It might not be as huge deal. You should contact QT or one of the pro programmers, for a quote.
It might be as easy as changing the syntax. I haven't really tried to do this. If you need some pretty designs let me know ![]()
__________________
xcart 5.1.2 |
|||||||||
#8
|
|||||||
|
|||||||
![]() I tried getting this to work on my test server, but couldnt.
Furthest I could get was to show the table for pricing and such, but nothing came up. Not having a glossary of x-cart coding info is a real pain. |
|||||||
#9
|
|||||||
|
|||||||
![]() Solved - Just need the info to show in Featured and in the cart pages
http://forum.x-cart.com/showthread.php?t=48399&highlight=quantity
__________________
X-Cart Gold 4.31, 4.23 and so and so forth... Add-on: X-Affiliate Add-on: X-Configurator Add-on: X-RMA (Return Merchandise Authorization) Add-on: X-FeatureComparison Add-on: X-SpecialOffers Add-on: X-AOM (Advanced Order Management) Tabs for product pages www.definedmedia.com |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Is the link above correct? It goes to a mod that allows wholesale pricing with options, it doesn't say anything about displaying wholesale prices on the products page.
__________________
Industrial Webworks Various xcart versions from 4.1.19 gold - 4.7 gold http://www.industrialwebworks.net |
|||||||||
|
|||
X-Cart forums © 2001-2020
|