This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* @snippet Min, Max, Increment & Default Value Quantity | WooCommerce | |
* @author WooXperto | |
* @date 04.08.2023 | |
*/ | |
add_filter( 'woocommerce_quantity_input_args', 'wooxperto_r_woocommerce_quantity_changes', 6666, 2 ); | |
function wooxperto_r_woocommerce_quantity_changes( $args, $product ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Min, Max, Increment & Default Value Quantity | WooCommerce | |
* @author WooXperto | |
* @date 04.08.2023 | |
*/ | |
/* Set min max & Step Product quanity for variation product*/ | |
add_filter( 'woocommerce_available_variation', 'wooxperto_woocommerce_quantity_min_variation', 5555, 3 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Display advance custom field at single product | WooCommerce | |
* @author WooXperto | |
* @date 08.08.2023 | |
*/ | |
if( !function_exists("wooXperto_display_acf_custom_field_at_single_product")){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Add a continue shopping button at single proudct page | WooCommerce | |
* @author WooXperto | |
* @date 10.08.2023 | |
*/ | |
if( !function_exists("wooXperto_hide_sku_for_normal_users")){ |
OlderNewer