News:

Looking for documentation? Take a look on our wiki

Main Menu

Product details page

Started by get27, November 17, 2013, 07:50:16 AM

Previous topic - Next topic

get27

Hello,

I've got a problem.
I don't want image in product details page to be "clickable"

How to disable this php function ?

Please help me.
Joomla 2.5.7    Vm 2.0.20

GJC Web Design

If your using the default template  components/com_virtuemart/views/productdetails/tmpl/default_images.php

change
echo $image->displayMediaFull("",true,"rel='vm-additional-images'");

to

echo $image->displayMediaFull("",false,"");
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

get27

Thanks you for your quick answer but it don' t work

Quote from: GJC Web Design on November 17, 2013, 14:57:34 PM
If your using the default template  components/com_virtuemart/views/productdetails/tmpl/default_images.php

change
echo $image->displayMediaFull("",true,"rel='vm-additional-images'");

to

echo $image->displayMediaFull("",false,"");
Joomla 2.5.7    Vm 2.0.20

GJC Web Design

then your not using the default template... also your VM is wildly out of date if your sig is accurate
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

get27

You was right about my sig. My version is 2.0.20

Quote from: GJC Web Design on November 17, 2013, 16:02:35 PM
then your not using the default template... also your VM is wildly out of date if your sig is accurate
Joomla 2.5.7    Vm 2.0.20

GJC Web Design

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

get27

update done + File modified ---> no change

It drives me crazy
Joomla 2.5.7    Vm 2.0.20

GJC Web Design

you must be using a template over ride - 3rd party template?

templates/your_template/html/com_virtuemart/productdetails  ???

image plugin?
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