Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Set up new attribute, but it doesnt show

Set up new attribute, but it doesnt show

Views: 1,115

Results 1 to 8 of 8
4 Jul 2014, 1:40 PM
#1
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Set up new attribute, but it doesnt show

I have added new attributes - Size and colour using the tutorial and assigned them to the product, but it doesn't show up on the website.
I am using a purchased template for my website design aswel (not sure if it makes a difference).
After adding all the attributes, the product remains unchanged in the store

4 Jul 2014, 5:32 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Set up new attribute, but it doesnt show

What happens if you temporarily switch back to the Classic template ?

4 Jul 2014, 6:13 PM
#3
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Set up new attribute, but it doesnt show

stevesh:

What happens if you temporarily switch back to the Classic template ?

If i revert back to classic template, the options are there

4 Jul 2014, 7:16 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Set up new attribute, but it doesnt show

Then I'm afraid you'll need to contact the author of your template and ask why that function was removed. It's possible someone here might spot something if we had a link to the site.

4 Jul 2014, 10:29 PM
#5
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Set up new attribute, but it doesnt show

stevesh:

Then I'm afraid you'll need to contact the author of your template and ask why that function was removed. It's possible someone here might spot something if we had a link to the site.

Site is http://www.bluehippoboutique.co.uk/. thanks for your help though. My wife was no good at doing it, so i am trying my best to fix it up for her

5 Jul 2014, 11:11 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Set up new attribute, but it doesnt show

The page itself is dying after the attributes section first loads. An example of a working site looks like this:

<div id="productAttributes"> <h3 id="attribsOptionsText">Please Choose: </h3> <div class="wrapperAttribsOptions"> <h4 class="optionName back"><label class="attribsSelect" for="attrib-3">Model</label></h4> <div class="back"> <select name="id[3]" id="attrib-3"> <option value="5">Value</option> <option value="6">Premium ( +$100.00 )</option> </select> </div> <br class="clearBoth" /> </div>

Yours ends after:

<div id="productAttributes">

You might try saving the YOUR_TEMPLATE/templates/tpl_product_info_display.php file and replacing it with the one from the Classic template to see if that's the problem.

5 Jul 2014, 1:18 PM
#7
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Set up new attribute, but it doesnt show

stevesh:

The page itself is dying after the attributes section first loads. An example of a working site looks like this:

<div id="productAttributes"> <h3 id="attribsOptionsText">Please Choose: </h3> <div class="wrapperAttribsOptions"> <h4 class="optionName back"><label class="attribsSelect" for="attrib-3">Model</label></h4> <div class="back"> <select name="id[3]" id="attrib-3"> <option value="5">Value</option> <option value="6">Premium ( +$100.00 )</option> </select> </div> <br class="clearBoth" /> </div>

Yours ends after:

<div id="productAttributes">

You might try saving the YOUR_TEMPLATE/templates/tpl_product_info_display.php file and replacing it with the one from the Classic template to see if that's the problem.

Didn't work unfortunately, it removed the share via facebook/twitter etc etc but no attributes.

This is a section from the tpl_product_info_display.php

<!--bof Attributes Module --> <?php if ($pr_attr->fields['total'] > 0) { ?> <?php /** * display the product atributes */ require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?> <?php } ?> <!--eof Attributes Module --> <!--bof Quantity Discounts table --> <?php if ($products_discount_type != 0) { ?> <?php /** no idea if thats anything to do with what i need
6 Jul 2014, 4:19 PM
#8
steve_harris avatar

steve_harris

New Zenner

Join Date:
Jul 2014
Location:
Pembrey, Carmarthenshire, United Kingdom
Posts:
14
Plugin Contributions:
0

Re: Set up new attribute, but it doesnt show

I have manage to sort this out by switching out the classic template file with the new template.

Next question though is after some altering around, i have managed to get it looking how we want it, however im stuck again

Attachment 14249

The attribute box seems to have split. I need them both under each other (underneath where the please choose is). also the share via buttons are far too low and need to be up beneath the product image