X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Tabs (https://forum.x-cart.com/showthread.php?t=73156)

mariaL 11-26-2015 01:51 AM

Re: Posting?
 
I am maria, a php developer , i am a fresher in Xcart.I have setup xcart in my system And i have created a new module by copying the existing modules and make changes accordingly.The new module also in the home page.

NOw my client wants switching tab like(BestSeller &Featured Products in the home page) inside the newly created module.How i can integrate a switching tab like that. In which section i can edit.Please help me, now i am in a trouble.I am eagerly waiting for your reply.

qualiteam 11-26-2015 05:48 AM

Re: Tabs
 
In a few words you should add your tab by extending the \XLite\View\Product\Details\Customer\Page\APage::d efineTabs() method and adding your widgets/templates into the "view list" specified in that method.

Please search for "product.details.page.tab" in source files for examples.


All times are GMT -8. The time now is 12:22 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.