News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[FIXED] Ps_product error when saving a product

Started by Oliver Griffiths, November 19, 2007, 18:06:20 PM

Previous topic - Next topic

Oliver Griffiths

Hi,

Ive found an error in the latest build 1046 in ps_product.php line 582.

The function vmRequest::getInt($d,"shopper_group_id") was returning 0, thus causing the sql statement to return 0 results, this had a nock on effect of not allowing the product to be saved, with the error:

This product already has a price for the selected Shopper Group and the specified Quantity Range.

I resolved this by comparing it to an older version and substituted the function above with:

$d["shopper_group_id"]

hope this helps.

Oli

Soeren

Thank you for reporting this, it has been fixed in the last SVN commit.

ciao, Sören
The future of eCommerce: VirtueMart & Joomla!
http://virtuemart.net

Softwired

Can you please post the entire fix for this? i.e. program name, lines of code...etc.

Thanks!
Expert, ecommerce, open source, applications.  http://www.softwiredweb.com