VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: rizecorp on June 23, 2014, 07:33:01 AM

Title: Pricing Update Problem (admin end only)
Post by: rizecorp on June 23, 2014, 07:33:01 AM
Hi All,

  Go to product edit from backend and change pricing (Cost Price, Final Price, and Override), then Save. Now it is showing changed Price for both backend & front-end. So far everything is good. Now i have clicked on the "Save and close" button and re-open the same product item, pricing is reverted to the original value, but the price on the front-end (even after a ctrl-r) stays at the new value. If i refresh the page on backend then only changed price is displaying correctly.

  I think it might be because of ajax cache issue. Can you please let me know any solution for my issue.

For Example: If the product X has the price $14.51, now i want to change this price to $15.21.

step 1:  Changed the desired price to the product and click on save.
             ( /administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=79 )

step 2:  Checked the price from both backend and front end. In this case no issues and price is showing as $15.21

step 3:  Now clicked on the "Save & Close" button and open the same product X, it is showing price as $14.51

step 4: In this case, only backend has the price issue. For front end it is showing as $15.21 even i have cleared the cache.

step 5: If i refreshed the backend product edit page, then only product price is showing latest price as $15.21

How can i resolve the above issue.

Here are the version details:
====================
PHP:       5.3.28
MySQL:  5.6.16
Joomla:  2.5.22
Virtuemart:  2.0.26a

Thanks in advance
Title: Re: Pricing Update Problem (admin end only)
Post by: rizecorp on June 25, 2014, 06:46:19 AM
Hi All,

   Above mentioned issue is only happened to the admin users. For Super admin users every thing is fine.

Please let me know your suggestions.

Thanks in advance.
Title: Re: Pricing Update Problem (admin end only)
Post by: jenkinhill on June 25, 2014, 10:21:23 AM
You should update and see if it still happens. ISTR an admin ACL issue was fixed about version VM2.6.2 (we are now at 2.6.6).  Test on a backup copy of the site, of course.
Title: Re: Pricing Update Problem (admin end only)
Post by: rizecorp on June 25, 2014, 10:49:32 AM
Hi jenkinhill,

  Many thanks for your reply and suggestion to update the VM.