Jump to content

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

User Group And Shipping Methods Rate Topic   - - - - -

 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 411 posts

Posted 21 June 2020 - 05:39 AM #1

Hello,

 

I activated wholesale user group and activated one test customer in this group. In the shipping methods I created one method specifically for that group and marked Wholesale group. For all other methods I unchecked ALL users and marked only Invited and Registered. But when I log in as test customer and proceed to shipping method I still can see all of them and not only one for that group. Is it default CS CART behavior? or I do something wrong if I need to show only one shipping method for the certain group?



 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4797 posts

Posted 21 June 2020 - 07:51 AM #2

registered my be your problem, it will show for ALL registered customers.

It should be activated only for the name of your wholesale user group


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


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

Posted 22 June 2020 - 05:51 AM #3

Hello,

 

I activated wholesale user group and activated one test customer in this group. In the shipping methods I created one method specifically for that group and marked Wholesale group. For all other methods I unchecked ALL users and marked only Invited and Registered. But when I log in as test customer and proceed to shipping method I still can see all of them and not only one for that group. Is it default CS CART behavior? or I do something wrong if I need to show only one shipping method for the certain group?

 

This is correct behaviour. This customer belongs to wholesale user group and he is registered


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)

 
  • sok777
  • Senior Member
  • Members
  • Join Date: 23-Jun 11
  • 411 posts

Posted 22 June 2020 - 06:12 AM #4

Thanks.

And if I need to restrict for one user group is it better to add extra column for restricted user group in cscart_shipping or I can just use {if $auth.usergroup_ids == X}?



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11659 posts

Posted 22 June 2020 - 06:28 PM #5

You would use a hook.  Note that $auth.usergroup_ids is an array.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.