joannapl
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Show Single Variations for WooCommerce] Custom title@wpclever
However, I can see the variants are not showing up on the category pages.
I removed all modifications but the problem remained.Forum: Plugins
In reply to: [WPC Show Single Variations for WooCommerce] Custom title@wpclever
I needed something more universal, but your cue introduced me.add_filter( 'woocommerce_product_variation_title', 'your_woocommerce_product_variation_title', 99, 4 ); function your_woocommerce_product_variation_title( $title, $product, $title_base, $title_suffix ) { if ( $product->get_attribute('artist') ) { $brand_name = $product->get_attribute('artist'); $brand_poj = $product->get_attribute('capacity'); return $brand_name . ' - ' . $brand_poj; } return $title; }
For products A and B, the variants look like this:
A #1 Name 1L
artist = #1 Name
capacity – 1LA #2 Name 5L
artist = #2 Name
capacity – 5LUnfortunately, I have not found a solution. Can you help me?
I have tested it many times. Product issued correctly.
I have 3 items in my cart.
1. Tutor
2. Downloadable product
3. Physical product to be shipped via Post Office.After payment, there is only access to the downloadable product.
After entering woocomerce> orders> order # 1
and status changes to completed access to the course.If the status of the order is not changed, the course is shown for re-purchase.
The tutor waits for the status completed with granting access to the course.
Status will not change until physical goods are shipped.The solution is for the tutor to give you access right after payment (pending). This is exactly how it is with the classic downloadable items.