Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Removing "+" from Drop-down Menu › Reply To: Removing "+" from Drop-down Menu
I completely understand… you will need to modify the javascript file called “eStore_read_form.js” which is located in the “lib” directory of the this plugin.
Find the following function the file:
function CheckTok (object1)
you will need to change the logic here to take out the addition if there is a “+” token. I have it like that so later I can introduce the “-” token that allows you to subtract values for a selected variation.
Once done you will need to minify this JavaScript file and give it the following name:
eStore_read_form.min.1.js
The plugin uses the minified version of the JavaScript files for performance reasons.
after the JavaScript file is updated you can take out the “+” from the PHP file.
just a warning though… when I release a new version and give you the update you will have to apply these changes manually on your installation again.