Answers for "how to show variation as checkbox in woocommerce single product page"

0

if simple product display enquiry button woocommerce code your own

if ( ! $product->is_purchasable() ) {
?>
<script type="text/javascript" language="JavaScript"><!--
function ShowHide(d) {
if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
else { document.getElementById(d).style.display = "none"; }
}
//--></script>
<a href="javascript:ShowHide('product-inquiry-form')">
<h2 class="button">Product Inquiry Form</h2>
</a>
<div id="product-inquiry-form" style="display:none;">
<div style="clear:both;">
<?php echo do_shortcode( '[contact-form-7 404 "Not Found"]' ); ?>
</div>
</div>
<?php
return;
}
Posted by: Guest on December-10-2020
0

wp woocommerce change product tags to checbox

function my_woocommerce_make_tags_hierarchical( $args ) {
    $args['hierarchical'] = true;
    return $args;
};
add_filter( 'woocommerce_taxonomy_args_product_tag', 'my_woocommerce_make_tags_hierarchical' );
Posted by: Guest on September-14-2021

Code answers related to "how to show variation as checkbox in woocommerce single product page"

Browse Popular Code Answers by Language