Hi,
It’s html encoding of the producttitle that is missing. If the producttitle contains double quotes it will give really starnge results.
I found the it here:
..\classes\class-woo-product-stock-alert-frontend.php:
Line 147: <input type="hidden" class="current_product_name" value="'.$product->post->post_title.'" />
Line 155: <input type="hidden" class="current_product_name" value="'.$product->post->post_title.'" />
It hould probably be something like this to solve the problem:
Line 147: <input type="hidden" class="current_product_name" value="'.htmlentities($product->post->post_title).'" />
Line 155: <input type="hidden" class="current_product_name" value="'.htmlentities($product->post->post_title).'" />
Best/
Andy
-
This reply was modified 7 years, 11 months ago by Andy McCoy.