Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

How To Get And Display Data From Vendor Plans? Rate Topic   - - - - -

 
  • yebnisekawe
  • Member
  • Trial users
  • Join Date: 07-Jan 21
  • 33 posts

Posted 26 July 2021 - 09:09 AM #1

Hi Guys,

 

I am trying to figure out how to display data from specific vendor plan, like plan title, plan price or number of products within a plan.

 

Could you guide me with this, please?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22197 posts

Posted 26 July 2021 - 12:46 PM #2

Where do you want to display it?


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • yebnisekawe
  • Member
  • Trial users
  • Join Date: 07-Jan 21
  • 33 posts

Posted 26 July 2021 - 02:09 PM #3

Where do you want to display it?

 

 

I have section on one of the pages displaying three columns with the vendor plans to choose from. (Vendor plan title, price per month, revenue amount, transaction fee and the button to choose the plan).

 

I would like to show dynamic data from the admin vendors plans



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22197 posts

Posted 27 July 2021 - 05:43 AM #4

Looks like you mean the following page

index.php?dispatch=companies.vendor_plans

The template of this page is located here

 

design/themes/responsive/templates/addons/vendor_plans/views/companies/components/plans.tpl


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • yebnisekawe
  • Member
  • Trial users
  • Join Date: 07-Jan 21
  • 33 posts

Posted 27 July 2021 - 07:27 AM #5

Looks like you mean the following page

index.php?dispatch=companies.vendor_plans

The template of this page is located here

 

design/themes/responsive/templates/addons/vendor_plans/views/companies/components/plans.tpl

 

 

Thanks mate, this is exactly what I was looking for :)



 
  • yebnisekawe
  • Member
  • Trial users
  • Join Date: 07-Jan 21
  • 33 posts

Posted 27 July 2021 - 08:06 AM #6

Do you know how I can load the plan.tpl on different page like Apply for vendor account, please?

 

I've tried use block with smarty and include the file plan.tpl but is showing me an error: 

 

Unable to load template tygh '/responsive/templates/addons/vendor_plans/views/companies/components/plans.tpl' in 'string:

{include file="/responsive/templates/addons/vendor_plans/views/companies/components/plans.tpl"}



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 22197 posts

Posted 27 July 2021 - 02:05 PM #7

Please use something like

{include file="addons/vendor_plans/views/companies/components/plans.tpl"}

but please note that this code will include template but not retrieve corresponding plans data from the database


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • jeffrey_h99
  • Newbie
  • Trial users
  • Join Date: 30-Jul 21
  • 1 posts

Posted 30 July 2021 - 09:59 AM #8

Hello,

 

Vendor plans allow you to set conditions for vendors who sell products in your store. For example, you can specify how much and how often your vendors have to pay you, which categories they can use, and so on.
 
To manage vendor plans, go to Vendors → Vendor plans in the Administration panel of your store. Everything we do in this tutorial will be done on this page.