Advertisement
grayowlbear

fix.patch

Dec 10th, 2021
1,115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.32 KB | None | 0 0
  1. Index: var/themes_repository/abt__unitheme2/templates/addons/abt__unitheme2_mv/overrides/addons/vendor_communication/hooks/companies/products.pre.tpl
  2. ===================================================================
  3. diff --git a/var/themes_repository/abt__unitheme2/templates/addons/abt__unitheme2_mv/overrides/addons/vendor_communication/hooks/companies/products.pre.tpl b/var/themes_repository/abt__unitheme2/templates/addons/abt__unitheme2_mv/overrides/addons/vendor_communication/hooks/companies/products.pre.tpl
  4. new file mode 100644
  5. --- /dev/null   (revision cf98aa985e8c954b4a05737634b92a22180e4f4b)
  6. +++ b/var/themes_repository/abt__unitheme2/templates/addons/abt__unitheme2_mv/overrides/addons/vendor_communication/hooks/companies/products.pre.tpl    (revision cf98aa985e8c954b4a05737634b92a22180e4f4b)
  7. @@ -0,0 +1,12 @@
  8. +{if $addons.vendor_communication.show_on_vendor == "Y"}
  9. +    {include file="addons/vendor_communication/views/vendor_communication/components/new_thread_button.tpl" object_id=$company_id show_form=true}
  10. +
  11. +    {include
  12. +        file="addons/vendor_communication/views/vendor_communication/components/new_thread_form.tpl"
  13. +        object_type=$smarty.const.VC_OBJECT_TYPE_COMPANY
  14. +        object_id=$company_id
  15. +        company_id=$company_id
  16. +        vendor_name=$company_id|fn_get_company_name
  17. +    }
  18. +{/if}
  19. +
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement