Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Product Option price bug? Rate Topic   - - - - -

 
  • impactreact
  • Senior Member
  • Members
  • Join Date: 10-Jan 10
  • 139 posts

Posted 17 April 2013 - 10:43 PM #1

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:

[Contact us for a price] whereas it should say £8.00



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?????



Your prompt help is much appreciated.

Regards,
AG.

 
  • idslamyou
  • Member
  • Members
  • Join Date: 06-Apr 07
  • 148 posts

Posted 17 April 2013 - 11:50 PM #2

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".

 
  • impactreact
  • Senior Member
  • Members
  • Join Date: 10-Jan 10
  • 139 posts

Posted 18 April 2013 - 07:47 AM #3

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.

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3810 posts

Posted 18 April 2013 - 08:38 AM #4

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

Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • impactreact
  • Senior Member
  • Members
  • Join Date: 10-Jan 10
  • 139 posts

Posted 18 April 2013 - 08:48 AM #5

Thanks Pavel, this error is now fixed,

 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3810 posts

Posted 18 April 2013 - 10:22 AM #6

You are welcome.

---
Pavel Zyukin
CS-Cart Support team

Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • remoteone
  • Member
  • Members
  • Join Date: 06-Oct 09
  • 776 posts

Posted 04 February 2015 - 04:06 PM #7

... because of a well-known bug in your CS-Cart version

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...