Page 1 of 1
Wrong price on dropdown menu in cart2
Posted: Tue Nov 25, 2014 8:18 am
by demfranordlunde
Hi everyone

I am a little new to simple cms, but not new to systems alike, i have a problem in this one
http://www.demfranordlunde.dk/index.php ... ade-dore-2
The price i specified for the product is right and under the product options i specified the variables in the product range with +155 +180 ect ect. but in the drop down menu for the product the price is 4.00 3.00 ect. why is that ? when i add them in the cart the price is the right one, just not the displayed ones...

have looked everywhere for a solution and problem solving, but no luck
Re: Wrong price on dropdown menu in cart2
Posted: Tue Dec 02, 2014 8:03 am
by demfranordlunde
No one ? damn.....

Re: Wrong price on dropdown menu in cart2
Posted: Tue Dec 02, 2014 9:37 am
by velden
Maybe you can post your cart template here?
I'm no expert on this topic. Implemented Cart2 once and seems to work well.
Re: Wrong price on dropdown menu in cart2
Posted: Thu Dec 04, 2014 6:27 am
by Dr.CSS
Are you actually putting the + sign in the option? I tried that and it didn't work for me it needs to be the difference only...
Re: Wrong price on dropdown menu in cart2
Posted: Thu Dec 04, 2014 9:46 am
by demfranordlunde
yes, both + and - . But the dropdown menu dosent display the price, only half of it
Re: Wrong price on dropdown menu in cart2
Posted: Thu Dec 04, 2014 10:58 pm
by paulbaker
velden wrote:Maybe you can post your cart template here?
Re: Wrong price on dropdown menu in cart2
Posted: Fri Dec 05, 2014 7:08 am
by Dr.CSS
When you add the difference DON'T put + or - in there just the price difference if item is 10 and you want the option to make the price 15 just put 5.00 in Price Adjustment, this will auto assume it is added to the item price, a - may deduct it from the item price...
Re: Wrong price on dropdown menu in cart2
Posted: Fri Dec 05, 2014 10:04 am
by demfranordlunde
what cart template do you want me to post, i have those here
AddToCart Templates
MyCart Form Templates
Viewcart form templates
Default Templates
Preferences
?
About the + or - or writing nothing, works, but still the price in the menu on the page is not shown right, the price is right when i add the product, but i have to show the customer what price they are adding to the cart

Re: Wrong price on dropdown menu in cart2
Posted: Fri Dec 05, 2014 7:45 pm
by Dr.CSS
It would take a log in to the admin to see what is really happening...
Re: Wrong price on dropdown menu in cart2
Posted: Fri Dec 05, 2014 9:48 pm
by velden
Start with posting AddToCart Templates
Re: Wrong price on dropdown menu in cart2
Posted: Mon Dec 08, 2014 9:13 am
by demfranordlunde
Calguys Module ExtensionsModul-
Cart2 - Add/Edit AddToCart Template:
Code: Select all
{* add to cart template *}
{if isset($cart_error)}
{cgerror}{$cart_error}{/cgerror}
{/if}
{$formstart}{strip}
{if isset($single_option)}
{* this is used if the sku passed to the Cart2 module was the sku of an option of a product *}
<input type="hidden" name="{$actionid}cart_options" value="{$single_option}"/>
@ {cgecomm_currency_symbol}{$unitprice|number_format:2}
{elseif isset($options)}
{* we have multiple options *}
<p style="font-weight:bold;font-size:14px;">Vælg variant:</p> <select name="{$actionid}cart_options">
{html_options options=$options}
</select>
{else}
{* no options *}
{/if}
<p>Antal: <input class="produkt-antal" type="text" name="{$quantityname}" value="1" size="6" maxlength="6"/></p>
<input class="produkt-tilfoj" type="submit" name="{$submitname}" value="Læg i kurv"/>
{/strip}{$formend}
Re: Wrong price on dropdown menu in cart2
Posted: Tue Dec 09, 2014 9:13 am
by velden
Looks pretty much like how it's meant to be.
However, I think I have a similar problem too:
Products has a product of 7.94 EUR. It has options that all have price adjustment set to 0 (zero).
All prices are now rounded to 7.00 EUR in the options list AND when adding to cart too.
Going to investigate this further because this should not happen.
Re: Wrong price on dropdown menu in cart2
Posted: Tue Dec 09, 2014 10:17 am
by velden
I think I found the problem but will first talk with developer. If confirmed I will file a bug report.
Re: Wrong price on dropdown menu in cart2
Posted: Thu Dec 11, 2014 8:06 am
by demfranordlunde
Okay, that is great, will look forward to hearing more

Re: Wrong price on dropdown menu in cart2
Posted: Fri Dec 12, 2014 9:54 am
by demfranordlunde
Anything i can do to fix it temporary ?