Looking for a custom TastyIgniter theme or extension development? Request a quote now!
So the current situation is that I have a menu item and size options that add +15 and +35. I would like to be able to display the option with the full price.
Option 1 + $15
Option 2 + $19
Option 3 + $21
And I would like to have it display like this:
Option 1 $25
Option 2 $35
Option 3 $45
Thank you in advance!
You would need to either modify the item_option_radio.blade.php in extensions/igniter/cart/components/cart box for this use case or (recommended option) write an extension that adds a new component that essentially copies the radio component but with the totals so you can select either choice depending on how you want it to work for a specific option.
Keep in mind if you modify the base file that:
Thank you djtimca I’ll look into some of the options you mentioned.
Do you know if there are any examples of how to create an extension to make changes like these? At the moment some changes I have made directly in the extension itself, but now that I see that these changes could be removed if a new update comes out, I would like to do it the right way.
Thank you in advance 🙂
Best is to look at some of the extensions on the Marketplace. Anything that is free also likely has a public repository where you can look at the structure and approach.
Thank you very much for your answer 🙂 @djtimca