How can I add a tab to the product page and control the information inside of it? Basically like a custom tab.
|
|
Hi,
You can easy put a hardcoded text, that will be the same for all the products.
The steps are these:
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
This should do the trick.
If you want the option to put a custom text for every product, you will need heavier modification.
Best regards,
ThemeBurn team
|
|
Yeah custom text would be better because with the hard coded option you can’t customize it to each product. If you have any info to use with your tabs that would be awesome.
|
|
Well, for custom tabs, you will need to add new fields in the database, touch the admin and controller and again use the same technique, we gave you upwards for showing the information.
Unfortunately, this is a custom modification and if you do not have enough skills to do it yourself, you will need to find a developer to do the job for you.
We are sure OpenCart official forums are convenient place to find a decent developer.
Best regards,
ThemeBurn team
|
|
Hi can i know how i can add an image rather than just a text?
tag is not working … sorry i dont know much about php
|
|
@3antz
We have put a step, that we missed in the code above. It works 100%.
To add an image you will just have to use plain html and not php:
<div id="product_new_tab">
<img src="YOUR_IMAGE_URL" />
</div>
Best regards,
ThemeBurn team
|
|
Thanks that works.
Also is there a limit to how many tabs i can add?
|
|
The limit is the space for the tabs. Same as the main navigation.
Best,
ThemeBurn team
|
|
any extension to custom add tab and using WYSIWYG editor to control the content?
|
|
@kido2010, we aren’t aware of such an extension. You could post a topic in the official opencart forums if you like.
Regards,
ThemeBurn team
|
|