Displaying images from a referenced product instead of a product display! Drupal Commerce

Hi,

I am developing an e-commerce site with drupal commerce.
I have managed to display the pictures with the product display but I would like to display the pictures from the referenced product. The problem is when i try to do that it messes up with the design of theme all together.

From the little I can understand the field is called from nodeproduct.tpl but when I try to change it always give me an UNDEFINED ERROR. Has anyone got any clue how to adjust this.

Here is the code.... Please Help me!

Use one field for phone or email or create separate ones for each content type?

I'm a little confused still over how to use fields. Some fields like email, phone, address, could all be used in many different content types. I added all these fields to my users, but have an "important contacts" page and a "local businesses" page. All of these content types have email, phone and address. Do I just have one "phone" field (field_phone) and then use "add existing" when adding fields to each of these contact types, or should I have separate ones for each type, ex: field_user_phone, field_important_contact_phone, field_local_business_phone?

Custom Breadcrumbs breaks titles

Installed Custom Breadcrumbs on my Drupal 7 site and tried it out for a particular content type (taxonomy-based image galleries, where the title of each thumbnail gallery is the taxonomy term -- Detroit, Chicago, Philadelphia, etc.). It made the titles for each gallery disappear. After deactivating the module, the titles are still missing. Wondering if anyone has had a similar experience or ideas on getting the titles back. If I go into Views for a particular gallery, the Title field says "none," where the title used to be the taxonomy term.

Quick Rules help please

Hi,

I am trying to create a simple rule to add an action on "user logged in".

The condition will need to look for whether the user has logged in within the past 10 days.

For testing purposes I reduced this down to 1 hour as follows:

Data to compare: Selected data: site:current-user:last-login
Operator: value is "greater than"
Data value (The value to compare the data with): now-1 hour

This is performing the action but everytime the user logs in, not only if the condition is true.

Adding languages to Commerce kickstart

I have installed and played with the Commerce kickstart and think it and Drupal are genius solutions. I can see the potential if I can get my brain to understand the concept.

Being an old lady and semi noob I have some very basic questions to ask.
I want to continue with the kickstart package and add languages. I take for granted I can do that but have searched on here how and where to place the files.
Any advice would be much appreciated.

Is there a way to see every content type that uses a certain field?

I want to delete some fields. Is there a quick report that will tell me what content types or nodes use that field? For example, I added a phone number field as a text field. I then replaced it with a a field with a new phone number type to format the numbers uniformly. I now want to delete the old phone number field, but it could have been used elsewhere for other content types that might have a phone number attached. Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x