1. Home
  2. Docs
  3. Doc of WooCommerce Additi...
  4. How To
  5. Variations Product Tab options

Variations Product Tab options

wv6duPSdYANj9WVb5D RHg8VMdNhzNoaAi4z8jNGHl CcgGOw 5ck4TJEGojN LH6WtTrW4I9cSg 2HV3TZJOJSyTTSrn237QQKUf tlU UagSsYbJLWAVu Q2eM8bpTdPemHhVWNDda8JFKAVDYP8

Variations Product Tabs Explained

This final section of the Custom Product Tabs for WooCommerce plugin focuses on automatically generating tabs for your variable products.

What it Does

This section allows you to configure tabs specifically designed for variable products in your WooCommerce store. Variable products typically have multiple variations (e.g., different sizes or colors) with unique attributes. This section helps you showcase these variations effectively.

Key Functionalities

  • Enable Section: This toggle activates the “Variations Product Tabs Options” functionality.
  • Position: Determine where the variation tabs will appear relative to other tabs on the product page.
  • Title: Set a default title displayed for each variation tab. You can likely use shortcodes here to dynamically include variation attributes within the title (e.g., “Size: [alg_wc_pt_product_function name=”get_variation_attribute”]”).
  • Content: Define the content that will be displayed within each variation tab. This could include information specific to that particular variation, such as stock availability or additional images. You can leverage shortcodes for dynamic content here as well.
  • Shortcodes: Similar to other sections, you can utilize shortcodes within the “Title” and “Content” options for variation tabs. The plugin provides the same two shortcodes:
  • [alg_wc_pt_product_function]: This injects functionalities related to the product variation. Examples were provided earlier, but could include functions like get_variation_sku or get_variation_price_html.
  • [alg_wc_pt_product_meta]: This retrieves and displays product meta values based on their custom field keys.
  • Reset Settings: This button allows you to reset all the customizations you’ve made within the “Variations Product Tabs Options” section.

Benefits

By enabling this section, you can automatically generate well-structured tabs showcasing the variations of your variable products. This provides clear information to your customers, helping them understand the different options available and make informed purchasing decisions.

 

Custom Product Tabs for WooCommerce

Tags