Jump to content

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

Buy Together: Button Add Combination Missing Rate Topic   - - - - -

 
  • hummer
  • Advanced Member
  • Members
  • Join Date: 23-Jul 20
  • 75 posts

Posted 07 January 2021 - 08:59 AM #1

Hi!

 

I am running the "Multi-Vendor Plus" edition in version 4.12.1.

 

I tried to test out the "Buy together" feature according to this KB article: https://docs.cs-cart...y_together.html

 

Unfortunately the button "Add combination" is missing.

I am running just one storefront.

Product tab "Buy together" is activated generally (Design -> Product tabs).

 

add_combination_missing.png

 

Can anyone help me to sort this out?

 

Best regards

hummer

 

 

 

 



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

Posted 10 January 2021 - 07:02 AM #2

Are you logged in under root admin?


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)

 
  • hummer
  • Advanced Member
  • Members
  • Join Date: 23-Jul 20
  • 75 posts

Posted 11 January 2021 - 09:29 AM #3

Are you logged in under root admin?

 

The "root admin" is the administrator with ID 1? The one who has a built-in membership with usergroup "Administrator"?

Yes, I am using that account. But unfortunalety, it does not work.

 

Best regards

hummer



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

Posted 11 January 2021 - 01:28 PM #4

Root admin should not have any user groups


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)

 
  • hummer
  • Advanced Member
  • Members
  • Join Date: 23-Jul 20
  • 75 posts

Posted 11 January 2021 - 05:39 PM #5

Root admin should not have any user groups

 

This is would I meant with "built-in".

Yes, I used the root admin.



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

Posted 12 January 2021 - 06:27 AM #6

Try to uninstall and install the module again


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)

 
  • hummer
  • Advanced Member
  • Members
  • Join Date: 23-Jul 20
  • 75 posts

Posted 15 January 2021 - 11:04 AM #7

Thank you, a new installation did not help. So I did more research.
 
Using the "root admin" seems to be the problem. However, if you work as "vendor admin" (via vendor administration), the button "Add combination" appears.
 
The variable $hide_controls seems to become true in the case of the root admin, because $runtime.company_id does not seem to be set?!
 
{if "MULTIVENDOR"|fn_allowed_for}
    {$hide_controls=($product_data.company_id == 0 || !$runtime.company_id)}
{/if}

<div id="content_buy_together" class="cm-hide-save-button hidden {if $hide_controls}cm-hide-inputs{/if}">
    {if !$hide_controls}
        <div class="clearfix">
            <div class="pull-right">
                    {capture name="add_new_picker"}
                        <div id="add_new_chain">
                            {include file="addons/buy_together/views/buy_together/update.tpl" product_id=$product_data.product_id item=[]}
                        </div>
                    {/capture}
                    {include file="common/popupbox.tpl" id="add_new_chain" text=__("new_combination") content=$smarty.capture.add_new_picker link_text=__("add_combination") act="general"}
            </div>
        </div><br>
    {/if}

Source: \design\backend\templates\addons\buy_together\hooks\products

 
Is it a bug that the root admin cannot use the buy together function in a multivendor shop?
 
I look forward to your response.
 
Best regards
hummer


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

Posted 18 January 2021 - 04:55 AM #8

Try to post it to the bug tracker. Looks like a bug


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)

 
  • hummer
  • Advanced Member
  • Members
  • Join Date: 23-Jul 20
  • 75 posts

Posted 18 January 2021 - 02:44 PM #9

Try to post it to the bug tracker. Looks like a bug

 

I did so: https://forum.cs-car...nation-missing/

 

Thank you, @eComLabs !