Jump to content

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

How To Hide Or Remove Vendor Contact Information And Shipping Address ? Rate Topic   - - - - -

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

Posted 07 August 2020 - 05:39 AM #21

After any upgrade , would it remain or will change have to be done again ? 

 

can you confirm this one manipulation in my changes will apply to ALL vendors (not just one ) 

 

 

Yes for both questions if the file is changed through My changes addon


Thank you. It works but shows only country. I would like country and city to show.

 

 

The correct code is 

 

                       <div class="ty-company-detail__control-group">
                            <span>{$company_data.city nofilter}</span>
                        </div>

 

I have corrected my initial post


 

I find it , it worked but only the country shows , and there still the email contact visible 

 

 

replace

 

                    {if $company_data.email}
                        <div class="ty-company-detail__control-group">
                            <label class="ty-company-detail__control-lable">{__("email")}:</label>
                            <span><a href="mailto:{$company_data.email}">{$company_data.email}</a></span>
                        </div>
                    {/if}
 
with
 
                    {*if $company_data.email}
                        <div class="ty-company-detail__control-group">
                            <label class="ty-company-detail__control-lable">{__("email")}:</label>
                            <span><a href="mailto:{$company_data.email}">{$company_data.email}</a></span>
                        </div>
                    {/if*}
 
Then clear cache

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)

 
  • memel
  • Senior Member
  • Members
  • Join Date: 29-May 17
  • 268 posts

Posted 07 August 2020 - 03:35 PM #22

Thank you eCOMLabs!



 
  • saltwater
  • Advanced Member
  • Members
  • Join Date: 14-May 20
  • 109 posts

Posted 07 August 2020 - 04:19 PM #23

Thanks Ecomm,

 

Email is gone thats great

 

But now:

 

 

initially i had the country showing but now i have only the city that shows . 

 

please could you send for both country and city ? 

 

Memel has it worked out for you ?  

 

because i have used the same line and cleared cache and it does not work 

 

 <div class="ty-company-detail__control-group">
                            <span>{$company_data.city nofilter}</span>
                        </div>

 

Thanks 



 
  • memel
  • Senior Member
  • Members
  • Join Date: 29-May 17
  • 268 posts

Posted 07 August 2020 - 05:01 PM #24

Thanks Ecomm,

 

Email is gone thats great

 

But now:

 

 

initially i had the country showing but now i have only the city that shows . 

 

please could you send for both country and city ? 

 

Memel has it worked out for you ?  

 

because i have used the same line and cleared cache and it does not work 

 

 <div class="ty-company-detail__control-group">
                            <span>{$company_data.city nofilter}</span>
                        </div>

 

Thanks 

 

Sometimes not enough to clear cache. You need to delete cache folder.



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

Posted 10 August 2020 - 05:59 AM #25

Thanks Ecomm,

 

Email is gone thats great

 

But now:

 

 

initially i had the country showing but now i have only the city that shows . 

 

please could you send for both country and city ? 

 

Memel has it worked out for you ?  

 

because i have used the same line and cleared cache and it does not work 

 

 <div class="ty-company-detail__control-group">
                            <span>{$company_data.city nofilter}</span>
                        </div>

 

Thanks 

 

if the country is not displayed, looks like you deleted the following code.

 

 

                    <div class="ty-company-detail__control-group">
                        <span>{$company_data.country|fn_get_country_name}</span>
                    </div>

 

Just return it back


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)

 
  • saltwater
  • Advanced Member
  • Members
  • Join Date: 14-May 20
  • 109 posts

Posted 11 August 2020 - 10:01 AM #26

perfect Thank you very much Ecomm !

if the country is not displayed, looks like you deleted the following code.

 

 

                    <div class="ty-company-detail__control-group">
                        <span>{$company_data.country|fn_get_country_name}</span>
                    </div>

 

Just return it back


Sometimes not enough to clear cache. You need to delete cache folder.

thats a good tip for the future , thank you memel