Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Tabs

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 11-26-2015, 01:51 AM
 
mariaL mariaL is offline
    
Join Date: Nov 2015
Posts: 1
 

Default 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.
__________________
Maria
Reply With Quote
  #2  
Old 11-26-2015, 05:48 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:11 PM.

   

 
X-Cart forums © 2001-2020