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

Remove unused Add to Cart product element #11948

Merged
merged 2 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 0 additions & 9 deletions assets/js/atomic/blocks/component-init.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,3 @@ registerBlockComponent( {
)
),
} );

registerBlockComponent( {
blockName: 'woocommerce/product-add-to-cart',
component: lazy( () =>
import(
/* webpackChunkName: "product-add-to-cart" */ './product-elements/add-to-cart/frontend'
)
),
} );
1 change: 0 additions & 1 deletion assets/js/atomic/blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import './product-elements/summary';
import './product-elements/sale-badge';
import './product-elements/sku';
import './product-elements/stock-indicator';
import './product-elements/add-to-cart';
import './product-elements/add-to-cart-form';
import './product-elements/product-image-gallery';
import './product-elements/product-details';
Expand Down
12 changes: 0 additions & 12 deletions assets/js/atomic/blocks/product-elements/add-to-cart/attributes.ts

This file was deleted.

87 changes: 0 additions & 87 deletions assets/js/atomic/blocks/product-elements/add-to-cart/block.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions assets/js/atomic/blocks/product-elements/add-to-cart/constants.tsx

This file was deleted.

94 changes: 0 additions & 94 deletions assets/js/atomic/blocks/product-elements/add-to-cart/edit.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions assets/js/atomic/blocks/product-elements/add-to-cart/frontend.ts

This file was deleted.

29 changes: 0 additions & 29 deletions assets/js/atomic/blocks/product-elements/add-to-cart/index.ts

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading