Search results for: admin
Button - Add to cart to Buy Now
add_filter( 'woocommerce_product_add_to_cart_text', function( $text ) { if ( 'Add to cart' == $text ) { $text…
Buy Now Button - Variation
add_filter( 'gettext', 'customizing_product_variation_message', 10, 3 ); function customizing_product_variation_message( $translated_text, $untranslated_text, $domain ) { if ($untranslated_text ==…
Continue Shopping Button
/** * Add Continue Shopping Button on Cart Page * Add to theme functions.php file or…
product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
bypass SSL certificate
bypass ssl - getting errors - fixes that
Button - Read More to Buy Now
changes read more to buy now
Product tabs
ADDS A TAB IN PRODUCT PAGES
Disallow point redemption if cart has subscription product.
This snippet will remove the point redemption option if the cart has a subscription product
Disallow store credits if cart has subscription product
This snippet will remove the store credit option if the cart has a subscription product
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…
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…
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';…
Override Wholesale Price Text Per Wholesale Role
This snippet allows you to display specific wholesale price text for each of your wholesale roles