JUst getting started ... Tabs questions
Hello to All!
I just installed X-Cart today and I have some questions about tabs. First I see how I can reorder the tabs I created, but reviews and description are also in the tabs, how can I move reviews to the bottom. Next how can I remove the sku# from the description. Thanks, Jennifer |
Re: JUst getting started ... Tabs questions
Hello Jennifer,
The "Reviews" tab is added by Reviews module and you can't control the position of the tab in the back-end. However, it is possible through a custom module. What you are to do is to decorate the \XLite\View\Product\Details\Customer\Page\APage::g etTabs() method from your custom module as follows: PHP Code:
As for the sku# - please could you clarify what you mean? |
Re: JUst getting started ... Tabs questions
Hi Alex,
Thanks for the reply. Are there more directions on how to create this custom module. As I would also like to remove the specifications tab completely. I checked my file structure andI do not have an XLite directory. As for the sku, when you click on the details tab, it shows the product sku number. I wanted that removed as the cart I am currently working on does not use sku #'s. But I figured out how to do that through webmaster mode. Thanks, Jennifer |
Re: JUst getting started ... Tabs questions
Hello Jennifer,
Yes, sure, here is the documentation for developers where you can read about creating custom modules for X-Cart 5: http://kb.x-cart.com/ "XLite" is the base of the PHP class name, you should start looking into the "classes" directory to find the directories and the actual PHP script that declares the class itself. |
All times are GMT -8. The time now is 02:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.