Control Over Tag Structures Possible?

Questions and answers about ShopSite Custom Templates

Control Over Tag Structures Possible?

Postby Cayce » Sun Jul 03, 2011 10:55 am

Hello, Forum;

I'm having a pretty good run with the custom templates, but I've run into a situation I don't know how to manage. In my New Registration template, the text (Name) & fields for First Name and Last Name are all on the same line, creating a layout problem. This would be the [-- CR_Name --] tag. Is there a way I can edit tags such as that to stack those fields, or arrange them to my own liking?

Thanks much.

Cayce
Cayce
 
Posts: 14
Joined: Fri Mar 18, 2011 8:41 am

Re: Control Over Tag Structures Possible?

Postby ShopSite Lauren » Tue Jul 05, 2011 12:28 pm

The quick answer is no. The fields that are displayed in that tag are pulled from the fields that are used in the cart. What I would suggest would be to eliminate the non-required fields in the cart. This is good for 2 reasons, one is that for the customer registration pages it makes that table much more narrow and easier to manage, and two is that in the cart, it is less fields to "scare" customers away with. The fewer fields customers need to keep track of or need to fill in, the better. You can turn off the extra fields (ie, Title, Middle, Suffix), by going to Commerce Setup > Order System > Checkout.

The "maybe" answer would be to view the code on the page that is output by that tag. Copy that code, then hard code that code into your own customer registration template. You would then be able to modify the table. I believe that this will work; this type of modification works with other complete tables that are output by ShopSite tags. I have not done it for the tag you are specifically referencing, but if you keep the field names and IDs the same, it should work just fine.
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 86 guests

cron