View Single Post
  #3  
Old 12-30-2008, 11:13 AM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Changing variant does not update price

Here are a few more hints:

The sku, image, & price changes are done with javascript code - also partially controlled by several of the files in skin1/modules/Product_Options - so check for recent changes. check_options.tpl is building the array with the javascript variables which includes the prices, so this should be getting the prices of the variants from the database.

Make sure there are no javascript errors - easiest to verify with firefox + firebug, or, MSIE reports javascript errors in a pop up or a yellow warning at the bottom of the browser.

Also - You can view the source for the page for the javascript section that begins with: "variants array:"

If you look at the variants array the first position is the price. If you do not see the correct prices there for your variants, it means it is not picking it up from the database correctly. If you see the correct price there, but it does not display on the page, something probably has gone wrong with the javascript .

Last consideration - if you happen to update the prices outside of XCART administration or csv import - for example, by directly modifying the database, or using some other means - then maybe you need to force cache generation? go to Summary->Tools->Force cache generation
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote