This is basically the respective issue for what is being worked on for D8 core here: https://www.drupal.org/project/drupal/issues/2061377
This is part of #1087 and #378, and related to #2841

Original issue summary
It would be great to be able to use image styles within CKEditor so that users could get consistent image sizes/styles within their content.
This is a follow-up from #2010 and #2630 where @Dinornis commented:
Maybe the image sizing can be replaced with the option of selecting an Image style predefined in
/admin/config/media/image-styles?
Recent comments
In a blog post titled "Github Tips and Tricks for Contrib Maintainers", I'd like to see some of the following topics: When is the README sufficient for documentation? When should...
Github Tips and Tricks for Contrib Maintainers
Thanks Alejandro. That was the clues I needed.
Ubercart - Programmatically add product to cart and straight to Checkout
Have you tried uc_cart_add_item()? You need to provide the nid of the product. Then you can use backdrop_goto('cart/checkout'); to send the user to the checkout screen. uc_cart_add_item...
Ubercart - Programmatically add product to cart and straight to Checkout