Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Add to Cart with Options block > Update the block to rely on dedicated render methods instead of WooCommerce core templates. #9494

Draft
wants to merge 22 commits into
base: trunk
Choose a base branch
from
Draft
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
379a2e7
Update the AddToCartForm class to rely on a dedicated version of core…
nefeline May 17, 2023
d873433
Ditch the 'woocommerce_single_variation' action and invoke the variat…
nefeline May 17, 2023
157a3c5
update html structure for add_variable_product_to_cart
nefeline May 17, 2023
161d55e
Introduce the add_external_product_to_cart method and update the add_…
nefeline May 17, 2023
b2b223a
Introduce the add_grouped_product_to_cart method.
nefeline May 17, 2023
88c572b
ditch the 'variation' case.
nefeline May 17, 2023
12240c5
Breakdown the method for rendering variable products and introduce th…
nefeline May 17, 2023
bf1d6ab
Introduce the variable_inputs method and address PHPCS errors.
nefeline May 17, 2023
fd11433
Make fine adjustments to the add_variable_product_to_cart method and …
nefeline May 17, 2023
d10c760
Remove all filters.
nefeline May 17, 2023
23aae77
Update the add_grouped_product_to_cart method to return the grouped_p…
nefeline May 17, 2023
ebaf44f
Remove all repetitive occurences of woocommerce_before_add_to_cart_fo…
nefeline May 17, 2023
016cdc6
Reorder the methods.
nefeline May 17, 2023
25be7e6
Address phpcs errors.
nefeline May 17, 2023
5c98547
update calls to the add_to_cart_button method.
nefeline May 17, 2023
21bfe5f
Ensure grouped products also rely on the get_quantity_input method fo…
nefeline May 18, 2023
7e15e23
Ignore nonce verification.
nefeline May 18, 2023
d7dada4
Ensure the add to cart form is properly rendered for simple products.
nefeline May 18, 2023
07b7f7b
Merge branch 'trunk' into add/add-to-cart-with-options-dedicated-temp…
nefeline May 23, 2023
5ba8138
Address code review feedback by removing multiple occurrences of phpc…
nefeline May 23, 2023
2aff289
Update the wp-block-add-to-cart-form class.
nefeline May 23, 2023
cbdd328
Ditch global variable override from the grouped_product_form method.
nefeline May 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading