Require a comments with rating

Return the number of the rating that should not require a comment.

<10

Untitled Snippet

add_filter( 'aioseo_robots_meta', 'aioseo_filter_robots_meta' ); function aioseo_filter_robots_meta( $attributes ) { $url = home_url( $_SERVER['REQUEST_URI'] ); if (strpos($url,'product_search=')…

MemberPress: Only Allow Coupon Once Per User

Restrict coupon codes so a user can only use the coupon code once.

Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock

// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…

Allow Subscriptions Product on BOGO and Add Product Search Field

add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…

Generate a virtual coupon when order is completed.

This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…

Disallow store credits if cart has subscription product

This snippet will remove the store credit option if the cart has a subscription product

Disallow point redemption if cart has subscription product.

This snippet will remove the point redemption option if the cart has a subscription product

Button - Read More to Buy Now

changes read more to buy now

Carla Mawyin
<10

bypass SSL certificate

bypass ssl - getting errors - fixes that

Carla Mawyin
<10

product data tabs

/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…

Carla Mawyin
<10
1 77 78 79 80 81 175