Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

How to use html inside javascript

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › How to use html inside javascript

Tagged: val_combo, variation, variation_name

  • This topic has 3 replies, 3 voices, and was last updated 12 years, 8 months ago by admin.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 25, 2012 at 9:38 pm #7480
    info@lifemoveshealth.com
    Member

    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)

    September 26, 2012 at 1:34 am #49674
    Peter
    Member

    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.

    September 26, 2012 at 8:15 pm #49675
    info@lifemoveshealth.com
    Member

    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?

    September 27, 2012 at 4:31 am #49676
    admin
    Keymaster

    The value form the cart gets transferred to the gateway so no way to do what you suggested unfortunately.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ