The autocompletion allows to search a product by SKU or Title but if you enter the product title directly this product will be invalidated by the commerce_quick_purchase_validate_sku() despite the fact it is a valid product.

Conclusion: Allow adding products to cart both by SKU and Title refactoring the validation function into the commerce_quick_purchase_validate_value($value).

Comments

drugan created an issue. See original summary.

  • drugan committed 4b8dae3 on 7.x-1.x
    Issue #2925902: Refactor validation handler allowing add to cart by...
drugan’s picture

Status: Active » Fixed

Fixed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.