Variable Product Name Prefix

Questions and answers about ShopSite Custom Templates

Variable Product Name Prefix

Postby bkerns » Tue Jan 07, 2014 9:14 am

Is there a way to disable addition of the prefix string 'Variable - ' to a product's name when setting the product's name dynamically? It seems that is confusing to the end user and takes the control away from the developer. Variable pricing does not work that way.

<input type="hidden" name="[-- PRODUCT.RecordNumber --]:name" value="[-- PRODUCT.Name --] - Some text I add">

results in:

Variable - Product's Name - Some text I add

-Brian
bkerns
 
Posts: 16
Joined: Wed Nov 20, 2013 2:07 pm

Re: Variable Product Name Prefix

Postby Jim » Tue Jan 07, 2014 9:24 am

Have you tried changing the text for "Variable -" on Preferences > Store Text > Shopping cart? Try putting a couple of spaces or &nbsp; in the field which should replace the text with just spaces. If you are using the Variable SKU field you might want to change that text also.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Variable Product Name Prefix

Postby bkerns » Tue Jan 07, 2014 9:33 am

Awesome! Thanks for the speedy solution. I will have to review the preferences functionality more closely.

-Brian
bkerns
 
Posts: 16
Joined: Wed Nov 20, 2013 2:07 pm


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 6 guests

cron