Your account expired support, please renew to get your support.

Home Forums Themes Support Claue-Shopify Woocommerce Hooks Ordering

Topic Resolution: Resolved

Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #42729
      jascom
      Support Expired

      Is it possible to change the order in which the Woocommerce Product Details display on the Claue Theme.  At the moment its is as per below and I want to move the Size Attribute to the top of the page above the title.

      Title

      Price

      Description

      Size (attribute)

    • #42731
      Harry
      Support Expired

      Hi Jascom,

      Thank you for choose our theme and contact us.

      Please add below code to claue-child > functions.php

      remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
      remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_rating', 10 );
      remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
      remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
      
      add_action( 'woocommerce_single_variation','woocommerce_template_single_title', 5 );
      add_action( 'woocommerce_single_variation','woocommerce_template_single_rating', 10 );
      add_action( 'woocommerce_single_variation','woocommerce_template_single_price', 10 );
      add_action( 'woocommerce_single_variation','woocommerce_template_single_excerpt', 15 );

      Kind regards

      Harry
      Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

Viewing 1 reply thread

You must be logged in to reply to this topic.