News:

Support the VirtueMart project and become a member

Main Menu

Product images duplicated

Started by Gingerweb, January 23, 2017, 09:46:15 AM

Previous topic - Next topic

Gingerweb

This is odd as nothing to my knowledge has changed on the site. Every product is showing its images twice?

http://www.huntingvintage.co.uk/component/virtuemart/saddle-flasks/stainless-steel-hip-flask-3092013-06-11-19-55-51-312-313-detail?Itemid=0

Any idea why this would happen please?

jenkinhill

There is something wrong with your template overrides, as there are two additional image divs in the code.  Just look at the page code for <div class="additional-images">

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

Gingerweb

Thanks - i cant find that error!
assuming it would be in either:

/public_html/templates/templatename/html/com_virtuemart/productdetails/default.php

or

/public_html/components/com_virtuemart/views/productdetails/tmpl/default.php

but cant find anything like it ?

GJC Web Design

because your using vmuikit bollocks.....
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

Gingerweb

Actually John this site doesnt have Vmuikit installed, it does have the one page checkout plugin which has massively increased orders, but no Vmuikit.
I assume the issue i am having is coming from /public_html/templates/impress/html/com_virtuemart/productdetails/default_images.php but the file is the "default" so i cant see why i am getting the double images still?

jenkinhill

The additional images are displayed with the template /templates/impress/html/com_virtuemart/productdetails/default_images_additional.php which will be included in the page by /templates/impress/html/com_virtuemart/productdetails/default.php

If you can't work the problem out you should ask the template developer.
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

jjk

Quote from: Gingerweb on January 23, 2017, 09:46:15 AM
...huntingvintage.co.uk/component/virtuemart/saddle-flasks/stainless-steel-hip-flask-3092013-06-11-19-55-51-312-313-detail?Itemid=0
Any idea why this would happen please?

I suppose you did solve your duplicate image issue, because at the time of writing this I don't see duplicate product images.
The 'strange' numbers in your above url were generated in your product alias form field because there is already a previously added product with the same name:
...huntingvintage.co.uk/component/virtuemart/saddle-flasks/stainless-steel-hip-flask-detail?Itemid=0
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Gingerweb

Yes thanks i just fixed it the issue was in

/public_html/templates/impress/html/com_virtuemart/productdetails/default.php

whilst setting up the vmreviews component i must have messed up somewhere not sure where but have replaced that file and all was ok.

thanks for assistance all.