Jump to content

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

Skip Shipping Step For A User Or Usergroup Rate Topic   - - - - -

  • jt_shop
  • Junior Member
  • Members
  • Join Date: 13-Mar 11
  • 12 posts

Posted 27 November 2017 - 02:15 PM #1



We have a physical shop and to make sure everything goes smooth, we let people pay via the site. We have an account solely for that purpose - to handle physical shop purchases.


Because of this, the shipping step is not required (because people take it with them immediately). I want to disable the shipping step entirely for an user or user group - because at checkout it's annoying to have to push more buttons than necessary.


Can someone point me in the right direction as to what I have to do to fix this? Something that could go in my_changes would be very handy. The user group which I'm talking about is 'kassa'.


Thanks in advance!

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

Posted 28 November 2017 - 06:10 AM #2

All you need is to check Tygh::$app['session']['auth'] array for required user groups and set settings.Checkout.display_shipping_step setting to N

Registry::set('settings.Checkout.display_shipping_step', 'N');

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 1210     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 4025     CS-Cart + YOUPI      USD 1459      Multi-Vendor Ultimate       USD 7500 (6000)