Closed (fixed)
Project:
Commerce Webform
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2015 at 13:21 UTC
Updated:
16 Nov 2015 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Debra G commentedBeing more specific: What I'm trying to do is customize the display of a product displayed on a form using the Commerce Webform Module so that a custom-price-field, made with Commerce Customizable Products, displays instead of the product-price. Anyone? Thanks.
Comment #2
johnennew commentedEach item is displayed using a standard Drupal theme function, theme_commerce_webform_product_display
As with any theme function, this can be overridden in your site theme's template.php. For example, if your site theme is called mytheme then you should be able to add this function to it's template.php file to hide the price:
Comment #3
rpsuAre you looking for option in UI to hide all prices or just prices with zero value?
Comment #4
rpsuThis patch adds one select element to webform component edit form for productfields allowing user to
Comment #5
jeremyr commentedPatch is working great, however, it's throwing this error for me when I edit the product component:
Comment #6
johnennew commentedThanks for the patch @rpsu - this is a nice UX addition
I've fixed the bugs in the code and the code which was generating notices and committed into 7.x-2.x branch
Comment #8
johnennew commentedCommitted with thanks