OCI Client cannot change quantities in cart

Created on 21 February 2021, about 4 years ago
Updated 6 May 2025, 11 days ago

Problem/Motivation

If a user is sent to the store via a punchout from an OCI enabled system, the quantities of products in the cart cannot be changed.

Steps to reproduce

Create a user holding (only) oci_checkout rights. Enter the store vie the regular /user/login dialogue, shop to you heart's content, proceed to the cart, change quantities as needed, checkout -> all fine.
Getting sent to the site through a punchout, shop along, proceed to the cart -> changing of quantities not possible anymore.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇦🇹Austria nofue

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇰Denmark ramlev

    It's because of the CommerceOciCheckoutFormAlter::alterCart() function

    Because it's unset in the unset($form["actions"]);

    Im working on a patch that enables the "update cart" button.

    And maybe, i i have time, make it a configuration settings, wheather that button should be visible or not.

Production build 0.71.5 2024