[SOLVED] product page and footer modification
Posted: Sat Oct 01, 2022 12:36 pm
Problem solved.
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
It is a free gift , for the masses, and we use it in any way we like. If you do not wish to help that's alright!IP_CAM wrote: ↑Sun Oct 02, 2022 9:59 pm................ 30+ views without any comments seems unusual for a community forum.
Well, with an incomplete OC Version Number mentioned and by use of a Custom Theme, you just expect others to care about for free. But OC is a moneymaker Software, not just another free Gift with masses of free Supporters, just waiting, to be of assistance.
I do understand the part regarding the product.twig modification but i just end up screwing it completely lol, that is the reason i asked for some help on here. i googled and moved the additional code around without success.JNeuhoff wrote: ↑Mon Oct 03, 2022 2:46 amIn order to move the additional images to the top right, you have to change the product.twig template file.
As regards the non-functioning accordions in the footer: This is an issue with the drugstore theme. I hope you didn't get your web theme from a low quality place like templatemonster or themeforest, but from a more reputable provider. In any case, contact the theme author and ask them to fix it, or to refund the money. Your theme issue is not an OpenCart bug.
Hey thanks for offering help! I'll shoot you an email.paulfeakins wrote: ↑Mon Oct 03, 2022 7:35 pmYou could pay a developer such as ourselves or post a job in the Commercial Support Forum.
That is exactly what i am afterJoe1234 wrote: ↑Mon Oct 10, 2022 9:26 amIs the attached image all you're looking to do? If so, reply with the product twig file from your theme (not the default) and I'll edit it and shoot it back to you if the code is clear. Since I wont be able to edit a live site, I can't really guarantee it, but I'll give it a quick look and try...at worst if I don't get it on the first try I may be able to tell you what to move where to see if you get it while refreshing your page. And no, I don't want access to your site to try it there, I don't do that.
Also note, what I'll be doing is hard coding, so you will lose it if you upgrade.
Code: Select all
{% if images %}
{% for image in images %}
<li class="image-additional" id="gallery_01">
<a href="javascript:void(0);" data-image="{{image['thumb']}}" data-zoom-image="{{image['popup']}}" title="{{ heading_title }}">
<img src="{{ image['thumb'] }}" data-zoom-image="{{image['popup']}}" title="{{ heading_title }}" alt="{{ heading_title }}" />
</a>
</li>
{% endfor %}
{% endif %}
Code: Select all
<div class="position-r">
<ul class="product-additional owl-slider">
<li class="image-additional" id="gallery_01">
<a href="javascript:void(0);" data-image="{{thumb}}" data-zoom-image="{{popup}}" title="{{heading_title}}">
<img src="{{thumb}}" title="{{heading_title}}" alt="{{heading_title}}" />
</a>
</li>
{% if images %}
{% for image in images %}
<li class="image-additional" id="gallery_01">
<a href="javascript:void(0);" data-image="{{image['thumb']}}" data-zoom-image="{{image['popup']}}" title="{{ heading_title }}">
<img src="{{ image['thumb'] }}" data-zoom-image="{{image['popup']}}" title="{{ heading_title }}" alt="{{ heading_title }}" />
</a>
</li>
{% endfor %}
{% endif %}
</ul>
</div>
Code: Select all
<h1 class="product-item-name">{{ heading_title }}</h1>