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)
-   -   How to get all vendor Information (https://forum.x-cart.com/showthread.php?t=78335)

Albedo 12-15-2021 08:12 PM

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?

ambal 12-20-2021 05:22 AM

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

ElegantXMods.com 03-29-2022 11:18 PM

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 :D/


All times are GMT -8. The time now is 08:06 AM.

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