Heirachical Attributes

Posted over 7 years ago by Helen Biernacki

Post a topic
Answered
H
Helen Biernacki

 I'm looking for heirachical attributes - if they proceed to the next ones not ALL posibilities will show....

basically the user must choose from

1. Style eg square landscape or portrait print

2. then size of print - Note: not all sizes will be available based on the choice in step 1

then

3. Material - eg paper

4. then Frame - black white or none

the

5 glass perpex or none


then the designer comes up depending on what they choose ...

is this possible to setup and how


http://custom.canvasfineprint.com - for products i already have - thanks

0 Votes

D

Deleted Agent posted over 7 years ago Best Answer

That is in general possible and the way it is (as long as you did not create the invalid variations). However there is an issue with WooCommerce that is causing problems here. This should help:


https://wordpress.org/support/topic/24-handling-for-20-variations?replies=1

function custom_wc_ajax_variation_threshold( $qty, $product ) {

 return 100;

}

add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 100, 2 );



0 Votes


2 Comments

Sorted by
H

Helen Biernacki posted over 7 years ago

Thanks that Fixed it!!

 

0 Votes

D

Deleted Agent posted over 7 years ago Answer

That is in general possible and the way it is (as long as you did not create the invalid variations). However there is an issue with WooCommerce that is causing problems here. This should help:


https://wordpress.org/support/topic/24-handling-for-20-variations?replies=1

function custom_wc_ajax_variation_threshold( $qty, $product ) {

 return 100;

}

add_filter( 'woocommerce_ajax_variation_threshold', 'custom_wc_ajax_variation_threshold', 100, 2 );



0 Votes

Login or Sign up to post a comment