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

How to get all vendor Information

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-15-2021, 08:12 PM
 
Albedo Albedo is offline
    
Join Date: Oct 2021
Posts: 2
 

Default How to get all vendor Information

I want to display vendor's image, name, address as well as their operation times. Which documentation should I be looking at?
__________________
X - CART 5
Reply With Quote
  #2  
Old 12-20-2021, 05:22 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,126
 

Default Re: How to get all vendor Information

Hi Albedo,

There is a page in the X-Cart customer zone where vendor info is displayed (target=vendor). Check the following files and do the same in your code:


- classes/XLite/Module/XC/MultiVendor/Controller/Customer/Vendor.php
- classes/XLite/Module/XC/MultiVendor/View/VendorInfo/VendorPage.php
- skins/modules/XC/MultiVendor/vendor_info/vendor_page/body.twig
- and e.g. skins/customer/modules/XC/MultiVendor/vendor_info/parts/company_name.twig
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #3  
Old 03-29-2022, 11:18 PM
  ElegantXMods.com's Avatar 
ElegantXMods.com ElegantXMods.com is offline
 

Advanced Member
  
Join Date: Apr 2009
Location: Stirling, UK
Posts: 94
 

Default Re: How to get all vendor Information

Quote:
Originally Posted by ambal
Hi Albedo,

There is a page in the X-Cart customer zone where vendor info is displayed (target=vendor). Check the following files and do the same in your code:


- classes/XLite/Module/XC/MultiVendor/Controller/Customer/Vendor.php
- classes/XLite/Module/XC/MultiVendor/View/VendorInfo/VendorPage.php
- skins/modules/XC/MultiVendor/vendor_info/vendor_page/body.twig
- and e.g. skins/customer/modules/XC/MultiVendor/vendor_info/parts/company_name.twig




Thanks, its really helpful. I have just seen the following demo with tweaked Vendor page here
__________________
John
ElegantXMods.com

QuickOrder AJAX-based search and ordering system now available
giving you complete control over how customers browse and search for your products. Click here for details.
PriceSlider - easily filter categories by price range - only $9.99 - details here

X-Cart 4.1, X-Cart 4.2 on Windows/IIS and Linux/Apache.
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 03:43 PM.

   

 
X-Cart forums © 2001-2020