Edit built-in ShopSite tags?

Questions and answers about ShopSite Custom Templates

Edit built-in ShopSite tags?

Postby sagiordano » Mon Mar 27, 2017 7:36 am

If I created a custom template and just used the generic template structure provided, how can I edit text/layout within the built-in ShopSite tags? For example the [--SC_Tax_Shipping--] tag....is there a way I can edit the text/html within this tag? Is it an include file I need to create? If so, can I copy a built-in one like you would if you were copying a pre-existing custom template?
sagiordano
 
Posts: 14
Joined: Wed Jan 28, 2009 8:52 am

Re: Edit built-in ShopSite tags?

Postby ShopSite Lauren » Thu Mar 30, 2017 7:24 pm

There isn't a way to edit the HTML output by that tag. There are classes and some IDs on the elements that are output, so you can customize the look using CSS.
- 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

Re: Edit built-in ShopSite tags?

Postby sagiordano » Tue Apr 04, 2017 8:23 am

Are there certain tags that I am able to modify the output html? Or is that not available for any of the built-in tags?
sagiordano
 
Posts: 14
Joined: Wed Jan 28, 2009 8:52 am

Re: Edit built-in ShopSite tags?

Postby ShopSite Lauren » Wed Apr 05, 2017 12:41 pm

It's not available for any of the ShopSite tags. For some cart tags there are 2 versions, a table driven version and a DIV driven version, such as [-- SC_CART --] (table) and [-- SC_CART_V2 --] (divs and spans). Most the _V2 tags (div and span driven) were added in the last few releases, so you can see them listed under the "new tags by version" page in the cookbook:
http://www.shopsite.com/templates/cookbook/tags-by-version.html
- 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 24 guests