Product Attributes

Hi Themeshark, I love the Seashell Template. I am adding product attributes and I want to know how I can move the placement of the (in my situation) the dropdown box.

I already read the forum and I figured out how to adjust the node.product.tpl file to make it display the sku (which turns out is $uc_model) and some other custom CCK fields however I can't seem to figure out how to move the uc_attributes.

I notice in the template.php file there is:

$vars['uc_additional'] = drupal_render($node->content);

I don't see where the corresponding code in the node.product.tpl is, yet it still appears next the price field on the product page.

Is this a CSS thing?

Ideally I was hoping to implement this module (http://drupal.org/project/uc_dynamicproductpages).

Any information would be greatly appreciated!

Tags:
Rob D.'s picture
Offline
Joined: 04/09/2008

Hey,

Just a quick note to let you know I'm not ignoring you - I've been unusually swamped this week with requests. I should be able to look at this tomorrow at some point.

robertjmwilson1's picture
Offline
Joined: 04/25/2011

No worries. I decided to just extend my terms in my vocabulary so the actual "unspecified product" is a term and then when you click on it, it displays the variations.

But two new questions:

1. Is the product description a separate field from the product tpl? I tried to use QuickTabs for that field but I could seem to figure out where the content was coming from.. by Quick Tabs I mean: http://drupal.org/node/218372

2. Share function - Whether it is sharethis, addthis or the official share modules from Facebook, Twitter etc... why was a share button never worked into this template?

Thanks!

Rob D.'s picture
Offline
Joined: 04/09/2008

The description is just the standard body included with all nodes, not a separate field, exactly - but it was separated and assigned a new variable in template.php. Usually in node.tpl.php you just output all the content by printing out $content, but I it makes it very limiting for layout and styling so I opted to break it up a bit.

There was no rationale involved with excluding the a share module, in fact it was likely just an oversight since I was focused on Ubercart primarily and just forgot about it. Anyone of them should work, I believe, since they're output with the node's links.

Support hours: 9AM - 5PM EST, Mon - Fri

Follow us on: