nBill Community nBill Home Page
21/May/2012, 11:45:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Can't change price of products  (Read 587 times)
Antoine
Full Member
***
Offline Offline

Posts: 154


View Profile
« on: 24/June/2010, 11:59:20 PM »

Hello,

I try to update several products prices.
I had first to change the vendor of the product as it changed since last update.
I enter the current price in the appropriate field and save.
The new price is well saved in backend, but when I go frontend on the order form the old price is still the one used on submit.

If I go back in backend, I can see by changing back to the old vendor that the old price is still there too.
So I tried setting it back to 0.00, saving, changing to the new vendor with the good price, and saving once more.
But now on frontend the product is considered as free !

I really don't understand how nBill is behaving !
How can I do to have the good prices? (I use nBill 1.2.9)

Regards,
Antoine
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 25/June/2010, 09:57:52 AM »

Do you have access to a database admin tool like phpMyAdmin? If so, please run this SQL query (change the table prefix if necessary):

DELETE jos_inv_product_price.*
            FROM jos_inv_product_price
            LEFT JOIN `jos_inv_product` ON jos_inv_product_price.product_id = jos_inv_product.id
            AND jos_inv_product_price.vendor_id = jos_inv_product.vendor_id
            WHERE jos_inv_product.vendor_id is NULL

That should clear out any old prices assigned to the wrong vendor.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!