Hello everyone, I'd like a small hand to change the display of the product and the + and - button to increase the amount of products: I can not find the point where change ...
In attachment I put a picture of how it is (red) and how I wish it were (green) ...
[attachment cleanup by admin]
Look up the basics of over-rides... then you need to put a copy of the file you want to override under your templates. After that is it a case of changing the code to suit your need. At least for the centering of the image.
Files you need should be in components/com_virtuemart/views/productdetails/tmpl
override versions of the files go into TEMPLATE/html/com_virtuemart/productdetails
Or appropriate directories for categories.
Quote from: FrankA on May 03, 2013, 20:23:54 PM
Look up the basics of over-rides... then you need to put a copy of the file you want to override under your templates. After that is it a case of changing the code to suit your need. At least for the centering of the image.
Files you need should be in components/com_virtuemart/views/productdetails/tmpl
override versions of the files go into TEMPLATE/html/com_virtuemart/productdetails
Or appropriate directories for categories.
thanks...
same problem
http://forum.virtuemart.net/index.php?topic=113401.0
thanks
I have resolved in this mode:
mod_virtuemart_product
file helper.php:
<span class="quantity-controls">
<!-- Start Hack <input type="button" style="background-image:url(/modules/mod_virtuemart_product/plus.jpg);"> -->
<input type="button" class="quantity-controls quantity-plus" style="background-image:url(/modules/mod_virtuemart_product/plus.jpg); width:25px;height:25px;margin-top:5px;" title="Aggiungi Quantita`" alt="Aggiungi Quantita`" />
<input type="button" class="quantity-controls quantity-minus" style="background-image:url(/modules/mod_virtuemart_product/minus.jpg); width:25px;height:25px;margin-top:5px;" title="Diminuisci Quantita`" alt="Diminuisci Quantita`" />
<!-- End Hack <input type="button" class="quantity-controls quantity-minus"/> -->
</span>
-----------------------------------
file default.php:
<div class="spacer">
<?php
if (!empty($product->images[0])) {
$image = $product->images[0]->displayMediaThumb ('class="featuredProductImage" border="0" style="margin-left:40px;margin-top:30px;"', FALSE);
} else {
$image = '';
[attachment cleanup by admin]