Closed (fixed)
Project:
Commerce Product Add-on
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2013 at 22:35 UTC
Updated:
5 Mar 2013 at 21:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
jazzdrive3 commentedYou can edit the view mode and have it display almost whatever you want. On the product type you are using, go to Manage Display, and edit the commerce_pado view mode. That is the view mode used when the product type is shown as an add-on.
Comment #2
vaccinemedia commentedThank you for the fast reply! I've attached two images - one is the settings for the product display and the other is how they are rendered in the front end. As you can see in the settings only the image field is set to be displayed yet on the front end the name of the product is shown as a link to edit the product.
Comment #3
vaccinemedia commentedSorry I have to re-activate this ticket as there is now way to prevent the link to edit the product from appearing. What I'm trying to achieve is like this: http://www.housenetwork.co.uk/securepayment.asp but imagine that there's one product display per package with various addon extras per package.
Comment #4
jazzdrive3 commentedNow I see what you are saying. I had to set the page parameter to TRUE to tell the entity to be rendered in another context. This doesn't print the title. I have updated this in the dev snapshot. As soon as that updates, you can try it out. Works find for me though.
If you want to change your current install, just changed the entity_view call line to, after declaring the global $language variable:
Comment #5
jazzdrive3 commentedComment #6
vaccinemedia commentedDoes the trick! Thanks :)