wordpress price not change in all product page when you select from variation

One day i have problem with wordpress’s wp-e-commerce plugin javascript’s variation
When i change my variation as provided in each product with drop down box, I have changed but its not change its price.

So I have try to find some helpful things that’s write here below.

Open below file for change into javascript file.


search this function “jQuery(“.wpsc_select_variation”).live(‘change’, function(){ ”

add below code at the top of above function
var formselid = jQuery(this).attr(“id”);
formselid = formselid.replace(‘variation_select_’,”);
formselid = formselid.substr( 0, formselid.indexOf(‘_’));
product_id = formselid;

Now, goto the front side and change your variation your price will be change as you defined in your variation.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s