Jump to content

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

How To Display A Text If The Vendor Is Viewing Their Own Product Rate Topic   - - - - -

 
  • Dexterflamez
  • Senior Member
  • Trial users
  • Join Date: 08-Jan 18
  • 339 posts

Posted 13 June 2021 - 05:46 AM #1

I want to show this text "Your listing" on product listed by the vendor when they go to it. example

{if viewer_is_owner_of_product}Your listing{/if}



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

Posted 14 June 2021 - 06:13 AM #2

Try

{if $auth.company_id == $product.company_id}Your listing{/if}

(!) Not tested


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)

 
  • Dexterflamez
  • Senior Member
  • Trial users
  • Join Date: 08-Jan 18
  • 339 posts

Posted 14 June 2021 - 09:42 PM #3

It worked!! please how can I show a link for them to edit their own product?



 
  • Dexterflamez
  • Senior Member
  • Trial users
  • Join Date: 08-Jan 18
  • 339 posts

Posted 15 June 2021 - 03:58 AM #4

I figured out how to do that, Thank you so much

 

It worked!! please how can I show a link for them to edit their own product?



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

Posted 15 June 2021 - 05:29 AM #5

You are welcome! :)


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)