Skip to content

Commit

Permalink
gspc-hidden-product-handler.php: Added snippet to remove url and ed…
Browse files Browse the repository at this point in the history
…it button for Hidden Catalog Products on Cart.
  • Loading branch information
saifsultanc committed Sep 12, 2024
1 parent 528712b commit 2537188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gs-product-configurator/gspc-hidden-product-handler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Gravity Wiz // Remove URL and Edit Button for Hidden Products
* Gravity Wiz // Remove URL and Edit Button for Hidden Products in Cart.
* https://gravitywiz.com/
*
* Plugin Name: Remove URL & Edit Button for Hidden Products in Cart
Expand Down Expand Up @@ -52,7 +52,7 @@ public function is_hidden_product( $cart_item ) {
* Remove the URL for hidden products in the cart.
*
* @param string $product_name The product name.
* @param array $cart_item The cart item data.
* @param array $cart_item The cart item data.
* @param string $cart_item_key The cart item key.
*
* @return string Modified product name without link for hidden products.
Expand Down

0 comments on commit 2537188

Please sign in to comment.