Home Forums Themes Support Claue “Size Guide” and “Delivery & Return” od product page

Viewing 4 reply threads
  • Author
    Posts
    • #35612
      anonim87229
      Supported

      Hello,

      Where to edit title and content of “Size Guide” and “Delivery & Return” od product page on your theme?

      How to add one one more “tab” like this in the same row?

      Thank you.

    • #35614
      Harry
      Supported

      Hi,

      1. Please install plugin Loco translate and go to Loco > themes > claue > your language find string and change the title as you want.

      2. To change content, please go to Claue > Theme Option > WooCommerce > Product Detail Settings

      3. Please go to Dashboard > Custom Products Tab and Create New Tab and go to product to add save tab or you can add custom tab for each product.

      Kind regards

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

    • #35691
      anonim87229
      Supported

      Ok, Loco is working. One more question related to this. “Order tracking” doesn’t;t load any page (404 error). How to set link to order tracking or delete it from the menu? Please see screenshots.

      Attachments:
      You must be logged in to view attached files.
    • #35695
      anonim87229
      Supported

      Secondly, words to translate show only in “Claue” theme. I’m informed by the plugin that if I update WordPress or WooCommerce I will lost this translations. Can I somehow transfer these translated words to Claue Child? If I do so, will my translations not be deleted after the update?

    • #35699
      Harry
      Supported

      Hi,

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

      if ( ! function_exists( 'jas_claue_wc_my_account' ) ) {
      	function jas_claue_wc_my_account() {
      		$output = '';
      
      		if ( cs_get_option( 'header-my-account-icon' ) ) {
      			$output .= '<div class="jas-my-account hidden-xs ts__05 pr">';
      				$output .= '<a class="cb chp db" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><i class="pe-7s-user"></i></a>';
      				$output .= '<ul class="pa tc">';
      					if ( is_user_logged_in() ) {
      						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>';
      						$output .= '<li><a class="db cg chp" href="' . esc_url( home_url( '/orders-tracking/' ) ) . '">' . esc_html__( 'Order Tracking', 'claue' ) . '</a></li>';
      						$output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>';
      					} else {
      						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>';
      					}
      				$output .= '</ul>';
      			$output .= '</div>';
      		}
      
      		return apply_filters( 'jas_claue_wc_my_account', $output );
      	}
      }

      and change “/orders-tracking/” with your site link slug.

      If you want remove this link please add below code to claue-child > functions.php

      if ( ! function_exists( 'jas_claue_wc_my_account' ) ) {
      	function jas_claue_wc_my_account() {
      		$output = '';
      
      		if ( cs_get_option( 'header-my-account-icon' ) ) {
      			$output .= '<div class="jas-my-account hidden-xs ts__05 pr">';
      				$output .= '<a class="cb chp db" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><i class="pe-7s-user"></i></a>';
      				$output .= '<ul class="pa tc">';
      					if ( is_user_logged_in() ) {
      						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>';
      				$output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>';
      					} else {
      						$output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>';
      					}
      				$output .= '</ul>';
      			$output .= '</div>';
      		}
      
      		return apply_filters( 'jas_claue_wc_my_account', $output );
      	}
      }

      2. Please choose “Custom” when you create new language. https://prnt.sc/rpm2j7

      Custom (recommended)
      This is Loco’s protected folder under “wp-content/languages/loco/” which is safe from automatic updates and provides priority over the above locations. If this folder doesn’t exist you may need to create it and ensure it has the correct permissions.

      https://localise.biz/wordpress/plugin/manual/msginit?utm_medium=plugin&utm_campaign=wp&utm_source=admin&utm_content=theme-msginit#locations

      Kind regards

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

Viewing 4 reply threads

You must be logged in to reply to this topic.