News:

Support the VirtueMart project and become a member

Main Menu

Change product image in cart

Started by nikpony, January 17, 2013, 20:33:34 PM

Previous topic - Next topic

nikpony

Hello for one more time,
i need somebody's help. I want to change the product image which displaying in the cart.
I am uploading at least two or more images in my products and i want to choose by ordering one of the images to be displayed there.
Please help me, even in this topic, because i have opened more topics but noone interested to help me.

I am using VM 2.0.18a.

nikpony

For one more time, nobody answered to my topic...congratulations for your support!
Thank you!
I am sure that i will work again with virtuemart in the future...

nikpony


jenkinhill

I have never seen a request for something like this before. Maybe you could write or commission a plugin to do it?

Alternatively if you understand some PHP and templating, select the image for the product in the product editor to be the one you want to display in the cart. Then upload your other images. You can then utilise overrides of the category and product details templates, editing them so the main selected product image is not shown, just the other images - which of course could also include the same image as the one you want to see in the cart. Something like that anyway.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

nikpony

Yes i can fix it, i think, but where is the function(in which file) which calls the image in the cart?
Give me some directions for this and i will attempt it.