Hi!
I want to ask if I can change the layout order in opencart 2.
Now it's like this:
image
description
>>>title<<<
product code/reward points/availability
price
quantity
add to cart
review
Maybe it would be more logical this way:
>>>title<<<
image
description
product code/reward points/availability
price
quantity
add to cart
review
Could you help?
Thanks
To do that, you can install my free extension Custom JavaScript and add code below
Code: Select all
<script>
$(document).ready(function () {
if ($(window).width() <= 768) {
$('body[class*="product-product"] #content h1').prependTo('body[class*="product-product"] #content .col-sm-8');
}
});
</script>
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Hi there, great stuff but what do i put in the code when i want the following on my MOBILE product page. I think it is better to have the add to cart button directly in view in stead of below the fold.
>>>title<<<
image
product code/reward points/availability
price
quantity
add to cart
description
review
Thanks a lot.
>>>title<<<
image
product code/reward points/availability
price
quantity
add to cart
description
review
Thanks a lot.
Who is online
Users browsing this forum: No registered users and 64 guests