- This topic has 6 replies, 2 voices, and was last updated 14 years, 2 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 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 remove the colon : on product variations
Hi There
I dont want to add a label to the product variations I am adding in however I cant see a way to remove the colon : that gets put in automatically before the drop down box?
any thoughts?
Thanks
John
Search for the following in the “eStore_button_display_helper.php” file:
." : ";
Once you find it just take the colon ( out from it. Basically replace the above with the following:
." ";
That should do it
actually that didnt work.
but I did get it to work, i edited this line
$var_output .= $variation1_name.” : “;
and removed the colon and now it does not display. Perhaps something to consider in a next release to not display the colon if there is no heading assocaiated with an option.
thanks
John
I misunderstood your first question. So in our case the value of the $variation1_name variable is empty right?
this is what variation 1 looks like
|8X12:200.00|9.33×14:375.00|14×21:575.00|
so I’ve not entered anythign to describe the drop down since its self explainatory and uses up less room.
J
Fixed it in the code.
oh ok excellent! thanks.