Replies: 2 comments
-
|
It looks to be a good candidate for being a product option. First I'd check that out to see if it will work for you. That should also render on your cart list and invoice without needing to do any coding or template modifications. Just a small modification to your product details template. If you create your length option but don't add any values.... Then try adding the ProductOption token on your display just below the ProductOptions token and you should find things work as desired.
|
Beta Was this translation helpful? Give feedback.
-
|
You can also add it to \Themes\config\default\productfields.cshtml Also, put you changes at portal level, so they don;t get overwritten on upgrade. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Guys,
I want to add a product length field on the detail page.
Use case:
Users should be able to input the length of a product they want to buy.
The value should be displayed in the cart and on the invoice.
How I'm going about it:
@TextBox(info, "genxml/textbox/unitqty", "class='lengthquantity selectedaddqty'", "1")I put the code above on the detailpage but I do not know if that is the correct way to go about it.
How can I display the value on the cart list and on the invoice?
Or is there a better way?
@leedavi @DNNMonster
Beta Was this translation helpful? Give feedback.
All reactions