| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Fixing the way Product Options (Price Modifier) is Displayed? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Fixing the way Product Options (Price Modifier) is Displayed?
When I add the price modifier product option to a product I want to sell by the each and by the case displays like this in the drop down menu:
Case / 12 each ( $+16.59) Since the single item is $ 1.69 it adds +$16.59 to total up to $18.28 which is the correct sell price. The problem is that customers are confused by the ( $+16.59) and assume the case price is $16.59 So I need to remove the ( $+16.59) from being displayed in the product option so it just says: Case / 12 each I am assuming this is somewhere in /modules/product_options... somewhere Any ideas???
__________________
Ian Winscom BoxedGreens Organic Grocery http://boxedgreens.com http://blog.boxedgreens.com ----------------------------------- X-Cart Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
Re: Fixing the way Product Options (Price Modifier) is Displayed?
You would modify the skin1/modules/Product_Options/customer_options.tpl.
I believe this is the file you would edit and either remove this section or remove the {if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}{else}{$o.price_modifier}%{/if} that is between the ( ) below. {if $v.is_modifier eq 'T'} <input id="po{$v.classid}" type="text" name="{$poname}" value="{$v.default|escape}" /> {else} <select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}> {foreach from=$v.options item=o} <option value="{$o.optionid}"{if $o.selected eq 'Y'} selected="selected"{/if}>{$o.option_name}{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ({if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}{else}{$o.price_modifier}%{/if}){/if}</option> {/foreach} </select> {/if} This is not tested but rather a starting point.
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Fixing the way Product Options (Price Modifier) is Displayed?
Quote:
Hello Egypt13, I would like to do the same thing. Just wondering if removing the code that was referenced by Thedae2k worked or not? Seems like removing code is not such a great idea?
__________________
X-cart Ver 4.4.2 No Add ons |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Fixing the way Product Options (Price Modifier) is Displayed?
You can comment out the code using Smarty comments tags instead of removing it: {* commented code *}
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#5
|
|||||||
|
|||||||
Re: Fixing the way Product Options (Price Modifier) is Displayed?
Thank you Qualiteam!
I would like to add that Roman Nikiforov (from Helpdesk) suggest's: "The 'price modifiers' is the type of a product options which changes the 'parent' product type The product variant - is a separate product with its own price. For more detailed information please refer to the following article: http://help.qtmsoft.com/index.php?title=X-Cart:Product_Options and see the following chapter: http://help.qtmsoft.com/index.php?title=X-Cart:Product_Options#Managing_Product_Variants" So, I understand that to mean setting up my products (single units and cases) in this scenario as a variant is more appropriate than an price modifier- I suppose? Also, if it is a variant, the price is not displayed next to the product in the drop down!
__________________
X-cart Ver 4.4.2 No Add ons |
|||||||
|
|||
X-Cart forums © 2001-2020
|