Discussions

cart quantity change at checkout

Dear community,

1. how it is possible to change the quantity of a product already added to the cart lets say with a +/- button and immediatly change the value of the card.

2. Can i say there is a minimum order for each product. I.E. Product A sells in increments of 10 EUR, but the minimum order first time is at least 50 EUR. So if the customer is adding the product to the cart the cart value added is automatically 50 or better 250 and if he want he can decrease to 50 from himself alone.

Is something like that possible with DC and if yes how?

Posted: Sep 21, 2013

Comments

bhans on September 23, 2013

The module Commerce Extra has a submodule Extra Quantity which will change the qty to a +- in both the product display and the shopping cart form. Also, if you add the module Commerce Cart Ajax and then modify the cart view and enable Ajax, it will enable to modify the cart form on the fly, without having to reload the page.

As for the min order quantity, there is a sandbox for a module in development http://www.drupalcommerce.org/extensions/sandbox/project/commerce-minimu...
Unless you are looking for total order minimum and try https://drupal.org/project/commerce_moa

Good luck!

stebau on September 24, 2013

Thanks for the help,

i just tried out the Commerca extra... it works
i also added Ajax to the Cart view... and it is enabled, but it doesn't change the quantity, it relaods and stays the same.

Basically looks good right now for the framework, have to solve these issues.

Is it possible to send a customer from a BUY NOW button direct into a checkout form, where i can change quantitiy to the upside and puts automatically 5 pieces of the product into it.

The Cart itself isn't interesting, because it just disturbs the Buyer process. I want to create a single checkout page, with the following content.

1st Cart Content ( Products 5 @ price x Total, customes can change the quantity via commerce extra with the plus minus buttons)
2nd Customer Infomation (if logged in populated by Adressbook, if anonymous, he have to populate with his billing adress which creates automatically an account and send the data including the order to a CRM)
3rd payment options (since i'm in germany, i would prefer SOFORT, ELV, Paypal, CreditCard and if possible Coupon as payment options, and for discount promotions a voucher field)

then he has to agree the terms etc and will be send to the payment review to confirm again the whole data. what is important to have him on the checkout page completly not distracting him from another CTA to get him done within one form which doesn't need to be reloaded.

Cheers

bhans on September 27, 2013

For the ajax to refresh, edit the "Shopping cart form (Commerce Order)" open "Advanced" on the right, scorll down to "use AJAX" and click on "No" then change to "yes", save it. The customer should now change the qty and click update and it will refresh without reloading the entire page.

You can rearrange the blocks on the checkout pages to your liking. Go to admin/commerce/config/checkout settings to rearrange them to your liking.

You can use https://drupal.org/project/commerce_extra_panes to add in a terms of service block for your checkout.

You can check out these 2 posts for "buy it now" https://drupal.org/node/1661784 and http://www.drupalcommerce.org/discussions/613/how-change-add-cart-button...