Untitled Snippet

create custom snippet

Ai Ohashi
<10

Force account creation by cart total

Force account creation at checkout if the cart total is a certain amount and the quantity…

Prevent Discounts on Upgrades

Does not allow a discount code to be applied when an license upgrade is present in…

Untitled Snippet

function youtube_dashboard() { $api_key = "AIzaSyBzzf22Vs5sMf1eoCuhN3-0Qtnj0EKu7Bk"; $channel_id = "102319916649-hmjdaecid7f96ql384nd80ie8mn13fjj.apps.googleusercontent.com"; // ganti channel kamu $url = "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=$channel_id&key=$api_key";…

WWQ - Allow quoting out-of-stock products

add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…

Use Full Store Address in Ships From

By default the Ships From metadata displayed under the add to cart button only shows the…

Min-Max Product Price (with decimal support)

Add minimum/maximum validation to your product's price - with decimal support

3 Dots for popup text in WordPress

With this snippet 3 highlighted dots appear when you create small items of text that you…

1 … 105 106 107 108 109 … 242