I'm stil pretty new to Drupal Commerce and I've run into a small issue with something that has worked for me in the past. I'm working on a custom Product Display node template and I'm wanting to get just the URL of the image in the image field. Right now I'm rendering the image with:
<?php print render($content['product:field_image']); ?>
In the past I have generated just the image field URL with the following code:
<?php echo file_create_url($node->field_image['und'][0]['uri']); ?>
However, modifying that to call product:field_image results in a total page error. Does anyone know the proper syntax to generate just the URL of the product image field?