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

Commit

Permalink
Remove unused Add to Cart product element (#11948)
Browse files Browse the repository at this point in the history
* Remove unused Add to Cart product element

* Remove entry about Product Add to Cart product element from MD file
  • Loading branch information
kmanijak authored Nov 28, 2023
1 parent 906b9a5 commit b8332dd
Show file tree
Hide file tree
Showing 31 changed files with 0 additions and 1,912 deletions.
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

0 comments on commit b8332dd

Please sign in to comment.