- This topic has 3 replies, 3 voices, and was last updated 12 years, 1 month ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to use html inside javascript
Tagged: val_combo, variation, variation_name
in this file: lib/eStore_read_form.js
How do I use html inside this:
val_combo = val_combo + ” (” + trim(variation_name[0]) + “)”;
something like this:
val_combo = val_combo + ” ” + trim(variation_name[0]) + “”;
so my variations output like this:
Product
variation 1
variation 2
instead of
Product(variation1)(variation2)
Adding newline in the product name field is not supported. This value gets submitted to the payment gateway so this value needs to be in a certain format.
Thanks for the reply Peter. I get what your saying. So, no way to display the variations on the cart page w/o passing along the extra html in the product name to the gateway, correct?
The value form the cart gets transferred to the gateway so no way to do what you suggested unfortunately.