Jump to content

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

How Get Vendor City Or State And Post It To Product List Rate Topic   - - - - -

 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 26 March 2021 - 10:43 PM #1

I need help for :

IN products list i want showing Vendors city or state for each products 

 

Used multi-vendor .



 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 26 March 2021 - 11:26 PM #2

I used : 

{include file="common/company_data.tpl"}
{foreach from=$company.company_id.statename item=statename}
              <span value="{$statename.state}" data-country={$statename.country_code}>{$statename.state}</span>
            {/foreach}

But not working



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

Posted 29 March 2021 - 05:14 AM #3

At least you should retrieve company information from database. E.g.

{$company = $product.company_id|fn_get_company_data}

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)

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12073 posts

Posted 30 March 2021 - 02:58 AM #4

What are you going to do if it is a "Common Product" where there may be 20 vendors selling the same product?


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • a3lanjo
  • Member
  • Trial users
  • Join Date: 14-Sep 20
  • 35 posts

Posted 30 March 2021 - 08:13 PM #5

What are you going to do if it is a "Common Product" where there may be 20 vendors selling the same product?

 

No Need i have a filter https://forum.cs-car...s/?fromsearch=1

 

The function can filter via country and city, So i want showing End user he use correct city ... That is .