Jump to content

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

Vendor Communication With Non-Multi Vendor Cs-Cart Rate Topic   - - - - -

 
  • TurabG
  • Advanced Member
  • Members
  • Join Date: 05-Apr 17
  • 54 posts

Posted 22 June 2021 - 11:59 AM #1

Hi,

 

ı am using Unitheme2 from Alex Branding. I can not enter to product viewing page because it gives an error saying that vendor communication function is not defined. Well it shouldn't be defined anyway, because this is not a Multi Vendor installation. Here is the error:

 

I have Unitheme2 installed. Product page gives this error:

Syntax error in template "/var/www/vhosts/example.com/beta.example.com/design/themes/abt__unitheme2/templates/addons/vendor_communication/views/vendor_communication/components/new_thread_button.tpl" on line 2
"{$allow_new_thread = fn_vendor_communication_is_communication_type_active($communication_type)}" unknown function "fn_vendor_communication_is_communication_type_active"

I tried to edit layout of product page, so that maybe I could remove a reference to vendor communication, but all I can see is "main content" with no detail. How is main content managed in layouts?

 

By the way, are modifications the only way for non-multi vendor setups to let customers ask questions about products from the product page?

 

Edit: I can resolve it by commenting out in the mentioned file, but this is not a true solution.



 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1435 posts

Posted 23 June 2021 - 08:16 AM #2

Hello

 

It looks like you have disabled the addon vendor_communication and therefore you have this error in your template. You can make a condition for the execution of this piece of code if the function exists or you can report to AB that there is such a problem.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl, marketplace

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • TurabG
  • Advanced Member
  • Members
  • Join Date: 05-Apr 17
  • 54 posts

Posted 23 June 2021 - 11:11 AM #3

I didn't disable Vendor Communication addon, because I don't have it. Vendor Communication addon is available only on Multi Vendor setup, while mine is not Multi Vendor.