Is there no solution to this?
I'm amazed it's not as simple as a simple admin function in the Options themselves.
Not being a PHP guru I don't have the skills to write this myself, but I would imagine it's a bit of additional code around the image part of the product.tpl file.
Any gurus out there?
I'm amazed it's not as simple as a simple admin function in the Options themselves.
Not being a PHP guru I don't have the skills to write this myself, but I would imagine it's a bit of additional code around the image part of the product.tpl file.
Any gurus out there?
Hi,
Yes, I have products with many mandatory image options. Every option carries an additional charge.
Therefore the Price of a product updates automatically when a mandatory option is chosen.
The problem is, some customers feel a little cheated as the price they see before adding mandatory options is not yet the final price.
If I could default all my Options to the first (cheapest) option, then the real price would be shown and the customer can then go for more expensive options should they wish.
Please see where this is happening now http://envelopesprinted.com
Yes, I have products with many mandatory image options. Every option carries an additional charge.
Therefore the Price of a product updates automatically when a mandatory option is chosen.
The problem is, some customers feel a little cheated as the price they see before adding mandatory options is not yet the final price.
If I could default all my Options to the first (cheapest) option, then the real price would be shown and the customer can then go for more expensive options should they wish.
Please see where this is happening now http://envelopesprinted.com
Hi,
I like the colorful design
You can activate all first options automatically using this:
Add it to the product.tpl just above the <?php echo $footer; ?> and refresh the modification cache!
I like the colorful design
You can activate all first options automatically using this:
Code: Select all
<script>$('[id^=input-option]').find('input[type=radio]:first').trigger('click');</script>
Attn: I no longer provide OpenCart extensions, nor future support - this includes forum posts.
Reason: OpenCart version 3+
Thanks!
Thanks man, it work for me on oc 3artcore wrote: ↑Thu Aug 25, 2016 8:35 pmHi,
I like the colorful design
You can activate all first options automatically using this:Add it to the product.tpl just above the <?php echo $footer; ?> and refresh the modification cache!Code: Select all
<script>$('[id^=input-option]').find('input[type=radio]:first').trigger('click');</script>
I have created an ocmod from above ( Credits: ArtCore ).
So it can be installed via extension installer.
See attached.
So it can be installed via extension installer.
See attached.
Attachments
Auto Select First Option
Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com
Who is online
Users browsing this forum: No registered users and 280 guests