Problem/Motivation

In our project we have a business requirement to hide the add to cart confirmation on some order item types. It would be great if there was a way to configure this in the order item form.

Proposed resolution

Allow a site builder to choose whether or not to show the add to cart confirmation on an order item type. In order to be backwards compatible this should default to being shown. We can store this information in the third party settings.

User interface changes

New option in the order item form that allows to choose whether to show a confirmation screen after adding the order item to a cart.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

pfrenssen created an issue. See original summary.

pfrenssen’s picture

Status: Active » Needs review
StatusFileSize
new6 KB
andreylugovtsov’s picture

StatusFileSize
new6.05 KB

khiminrm made their first commit to this issue’s fork.

khiminrm’s picture

I've fixed saving new setting to the order item type - there was missed $order_item_type->save().
Also fixed some coding standard issues.
Created MR.

andreylugovtsov’s picture

StatusFileSize
new5.14 KB
gidarai’s picture

StatusFileSize
new3.12 KB

I have created a new patch for this issue, using the previous patch/MR(13) as a basis and incorporating changes from the latest module release.

arantxio’s picture

StatusFileSize
new2.97 KB

Here is a updated patch for the latest test branch, that seems to work for us.

anybody’s picture

Version: 1.x-dev » 2.x-dev
Status: Needs review » Needs work

Could someone please create a new MR against 2.x? We should not proceed with patches here. Would be great to get this fixed, if maintainers agree.