Jump to content

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

Hide The Supplier Information On Product Page Rate Topic   - - - - -

 
  • yckelvin
  • Advanced Member
  • Members
  • Join Date: 22-May 15
  • 52 posts

Posted 29 November 2015 - 02:20 AM #1

Dear Sir/Madam,

 

I turn on the Supplier add-on but I don't want to show the supplier name on the product page. I find the script from /design/themes/responsive/templates/addons/suppliers/hooks/products/options_advanced.post.tpl

 
I remark the script as below to hide the supplier information
 
<!--
    <div class="ty-control-group{if !$capture_options_vs_qty} product-list-field{/if}">
        <label class="ty-control-group__label">{__("supplier")}:</label>
        <span class="ty-control-group__item"><a href="{"suppliers.view?supplier_id=`$product.supplier_id`"|fn_url}">{$product.supplier_id|fn_get_supplier_name}</a></span>
    </div>
-->

I know it may not be the best practices to do as the upgrade will override it. Should I do that using my_changes add-on? How can I do?

 

I think it should be asked in developer community but I could not post any there. Do anyone can instruct me the steps?

 

Best regards,

 

Kelvin.

 

 



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3849 posts

Posted 29 November 2015 - 03:14 AM #2

You can turn it on or off via the supplier addon settings.



 
  • yckelvin
  • Advanced Member
  • Members
  • Join Date: 22-May 15
  • 52 posts

Posted 29 November 2015 - 03:28 AM #3

You can turn it on or off via the supplier addon settings.

 

Many thanks for your reply. I can do what I wanted.