Uses wrong hook commerce_product_availability_form_commerce_order_item_variation_cart_form_form_alter

Created on 15 August 2024, 8 months ago
Updated 29 August 2024, 8 months ago

Problem/Motivation

Seems we only fixed the wrong hook name in the submodule and not in the main module.

Presumably wrong (disfunctional):
commerce_product_availability_form_commerce_order_item_variation_cart_form_form_alter()
Correct: commerce_product_availability_form_commerce_order_item_add_to_cart_form_alter()

Also we should disable / hide the quantity field which is heavily related to the add to cart button.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code (commerce_product_availability)

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024