Posted by jdesrig on January 8, 2013 at 7:05pm
I am new to Drupal 7 (I have been using D6 until now). I am using ubercart to power my e-commerce site.
Ubercart automatically creates a product content type. It has a title and image field. However, it also has a SKU, list price etc, which don't seem to be fields (I can't list them in a view I created) but they show up on the node page. If they aren't fields, what are they and how can I access them?
Comments
Print out variables
You can probably create a node--[your-content-type] (http://drupal.org/node/17565) or view template file (http://api.drupal.org/api/views/theme!theme.inc/group/views_templates/7) -- depending on where you're trying to view content. Then you can just print out variables via dsm() or dpm() [make sure devel module is enabled - http://drupal.org/project/devel].
You can simply install the
You can simply install the developer (devel) module which will add a 'devel' tab to the product page allowing you to see the structure.
I also think you can install the Display Suite module which extends the "Manage display" tab. With the module enabled you can enable a layout for each view mode. With a layout enabled you should be able to see the "extra" fields (may need a module specific to Ubercart and Display Suite to see them).
I installed the devel module,
I installed the devel module, but I cant figure out how to get it to work. The first thing it said when I installed it was that it was assigned to an invalid region and was disabled (I am using the AT-Commerce theme). But I then tried to set the block manually to a region, but its not showing up!
your advice has been very
your advice has been very helpful, thank you.
Zawsze nowe newsy. Aktualne wiadomości z całego świata.