Jump to content

Edit History

RensR

RensR

The answer of Daresh is the best

RensR

RensR

Hello, to solve your problem you can use "updateProduct".

To do so you have 2 options.

1. Find the trigger that is activated when you modify the attributes of a product and insert this new line of code:
 

prestashop.emit('updateProduct', {}) 

 

2. Another option is to look for the javascript of your theme and at the end of everything place this script:
 

$(document).ready(
	function(){ 
		$('.product-variants select').on('change'){ 
			prestashop.emit('updateProduct', {}) 
		} 
	}
); 

 

×
×
  • Create New...