Odd Space Below Product Name on More Info Page

General ShopSite user discussion

Odd Space Below Product Name on More Info Page

Postby crescentcraft » Sat Feb 08, 2014 7:02 am

I keep getting a weird space (that starts with a straight dash line) below the product name on my More Info pages. It's really annoying and I can't figure out what it is, what's supposed to go there, and how to get rid of it.

http://crescentcraft.fatcow.com/store/product93.html

Any help would be great.
crescentcraft
 
Posts: 2
Joined: Sat Feb 08, 2014 6:54 am

Re: Odd Space Below Product Name on More Info Page

Postby Jim » Sat Feb 08, 2014 7:34 am

The bar is a separator used when you have Product Reviews enabled in your store. The number of stars appears on the left of it and the link for creating a review is on the right of it. If you enable the Product Reviews feature, found on the Merchandising screen, you can see how it is suppose to be used.

If you don't want the reviews enable then you could edit the product template (More info section) and remove the | character.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Odd Space Below Product Name on More Info Page

Postby crescentcraft » Sun Feb 09, 2014 6:52 am

Sorry, I'm lost, where do I do that? I can't seem to find it.
crescentcraft
 
Posts: 2
Joined: Sat Feb 08, 2014 6:54 am

Re: Odd Space Below Product Name on More Info Page

Postby Jim » Mon Feb 10, 2014 10:18 am

To enable the Product Reviews feature go to Merchandising > Product Reviews > Configure and check the "Enable Reviews feature" checkbox. There are a few other settings on that same screen that you may want to tweak such as the text displayed to the shopper.

To fix the | displaying (if you don't want to enable Product Reviews) You would need to edit the product template Flex-Build-Product.sst and make a couple of changes. To edit that template file you would go to Merchandising > Custom Templates > Page/Product and in the section Product Templates use the Copy ShopSite Product Template button to bring up a list of the ShopSite provided product templates. Select the template Flex-Build-Product.sst and put Flex-Build-Product.sst1 in the File Name fo the new copy field (note the 1 at the end of the name). Click the Copy button. Next select the Flex-Build-Product.sst1 file and click the Edit Product Template button.

Next look for this code in the template file
Code: Select all
<span class="reviews-brief">[-- REVIEWS_STARS --][--
REVIEWS_WRITE_REVIEW_LINK --] | [-- REVIEWS_READ_REVIEWS_LINK
--]</span>


you basically just need to add [-- IF REVIEWS --] and [--END_IF--]
statement around it so it looks like this:

Code: Select all
[-- IF REVIEWS --]
<span class="reviews-brief">[-- REVIEWS_STARS --][--
REVIEWS_WRITE_REVIEW_LINK --] | [-- REVIEWS_READ_REVIEWS_LINK
--]</span>
[-- END_IF --]

There may be a couple of instances of this code in the template so if there are change them all.

Then click the Save Changes button to exit the editor.

Next select the Flex-Build-Product.sst1 file in the list again and use the Copy Product Template button and give it the name Flex-Build-Product.sst (i.e. remove the 1 from the end of the name).

Next you need to publish the store again so the template change will take affect. You do this by going to Utilities > Publish > Regenerate.

The change will now be in your pages. Note if your pages don't look correct you can get back to the ShopSite version of the template by simply deleting the template that you edited and republishing to use the ShopSite version of the template.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Odd Space Below Product Name on More Info Page

Postby Jim » Mon Feb 10, 2014 10:22 am

Note that this template issue was resolved in ShopSite 12 so if you update your store to that version it would also fix the problem. If you do make the change in your template and then upgrade to 12 you should remove your modified version of the template. If you don't remove it that version will continue to be used and you won't see the new features added in ShopSite 12.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 167 guests