want to move the extra images section below the main image in all product pages [closed]
-
04-10-2020 - |
Pregunta
Solución
just add below css in your css file
add this line in this css file
http://www.bookslab.in/skin/frontend/rwd/default/css/styles.css
.more-views {
clear: both;
}
.product-image, .no-touch .product-img-box .product-image:hover:not(.zoom-available){
display: initial;
}
Other than this you have to check your css for other block
Otros consejos
Add buy now button.
<button onclick="buyNow();return false;" id="buy_now">Buy Now</button>
And then add ajax code.
<script>
var addToCartForm = new VarienForm('product_addtocart_form', true);
function buyNow(){
if (addToCartForm.validator.validate()){
jQuery.ajax({
url:jQuery('#product_addtocart_form').attr('action'),
type:'POST',
data:jQuery('#product_addtocart_form').serialize()+'&isAjax=1',
success:function(){
window.location.href='/checkout/onepage/';
}
})
}
}
</script>
I see on your website you already moved product images.
UPDATE
You need to add above code in
/app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml
where rwd
is package name and default
is theme name.
Licenciado bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange