Present product specifications based on selected variation
-
Hi,
1 – My products have an extensive list of specifications. The majority of specifications are global to all variations, but they are some values that are specific for each variation.
By example: The same model of lamp has 3 different colors variations, so I’m using only 1 or 2 attributes to generate variations. Each variation as a specific color code, and I need a solution to present this specific field value based on variation choose by the client.
This is important due that the products specifications sheets must be printed according to the selected variations, as well as the specifications values presented to clients.
Any solution for this?
2 – I need to move the product SKU (Ref.a) below the product title. I’ve found this code and added to child theme functions.php file and
/* add_action( ‘woocommerce_before_shop_loop_item_title’, ‘custom_before_title’ ); function custom_before_title() {
global $product;
if ( $product->get_sku() ) { echo $product->get_sku(); }
} */
Using this code I’m able to have the SKU field below title, but without any values. It just appears “SKU:”
3 – Is there any possibility to show on the product preview the nr of variations/versions available? https://pasteboard.co/IeYkL7g.png
Thanks in advanced
- The topic ‘Present product specifications based on selected variation’ is closed to new replies.