News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Change product image according to custom fields

Started by pritmadlani, August 02, 2018, 19:38:47 PM

Previous topic - Next topic

pritmadlani

Hello,

Quick question - not sure if it is possible or not.

I have one product available in two options (so I use custom fields).
The basic cost is 50
The second option is the basic plus 25 (75 total).

If someone is on my website and through the custom fields created, they select the second option, is it possible for the displayed image to be changed accordingly i.e. customer goes to the product and sees the basic image.  Using the drop down (created by custom fields), they select the second option, is it possible for the second image to show as the primary?

Thank you,

Prit


GJC Web Design

if it is only a basic custom field u would need to do it in the template by javascript

if u make it a product child then the product actually changes on selection and u can have a different image show for this child
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation