Product Option price bug?

Hi Guys,



Please help me as I have run into a very strange behaviour of CS Cart.



My client is offering Business Cards on his site so the category structure is like this:



Business Cards

Single Sided Business Cards

Double Sided Business Cards



There is no base price as the price is being controlled by Product Option as shown below:





Business Cards

Single Sided Business Cards (Opt 1: 250 Cards - say £5.00, Opt 2 500 Cards: £10)

Double Sided Business Cards (Opt 1: 250 Cards - say £8.00, Opt 2 500 Cards: £14)



Now the trouble is, on the category page it is showing price likes this:



Single Sided Business Cards: £5.00

Double Sided Business Cards: [color=#333333][font=Arial, Tahoma, Helvetica, sans-serif][size=4][center][Contact us for a price] whereas it should say £8.00[/center][/size][/font][/color]



[color=#333333][font=Arial, Tahoma, Helvetica, sans-serif][size=4][center]The options have been set up correctly, I have even tried this with Global options but no luck, am I missing something, is it a typical box which I forgot to tick somewhere???[/center][/size][/font][/color]



Your prompt help is much appreciated.



Regards,

AG.

Most likely it is the “Zero Price Action” uner Pricing/Inventory on the product admin page. Think you need it set to “Allow customers to add to the cart” instead of “Do not allow”.

Thanks idslamyou, I have tried it but no luck, it actually doesn't show any price then, here is the link for try

[deleted]



Your help is much appreciated.

Hello impactreact,



Thank you for your message.



It seems that the problem occurs because of a well-known bug in your CS-Cart version. In order to fix it, you should add the following line of code:


unset($selected_options);



below these ones:


$product['has_options'] = (!empty($has_product_options[$product_id]) || !empty($has_product_options_links[$product_id]))? true : false;
}




in the fn.catalog.php file located in the core directory of your CS-Cart installation. Please check the result.



Thank you.





Pavel Zyukin

CS-Cart Support team

Thanks Pavel, this error is now fixed,

You are welcome.





Pavel Zyukin

CS-Cart Support team

[quote]… because of a well-known bug in your CS-Cart version[/quote]

Not that well known, as we've only just fixed it now in our v2.1.4 cart



Another bug is that when editing an order in Admin>Orders , the product price does not update when you change the options.

wondering if this admin bug has been fixed also? If so, Id love to get it fixed…