Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1125034
    Integratutions
    Participant

    Dear Sir/Mdm,

    I need to edit Woocommerce’s shop page details.

    1. Changing the page’s name on the window’s tab from Product to Cars

    2. Changing The Shop to Our Cars

    3. Changing the Welcome to our online store. Take some time to browse through our items. to With more than 20 cars to choose from, you’ll definitely find one that suits you best!

    #1125038
    Integratutions
    Participant
    This reply has been marked as private.
    #1125303
    Thai
    Moderator

    Hi There,

    2. Changing The Shop to Our Cars

    3. Changing the Welcome to our online store. Take some time to browse through our items. to With more than 20 cars to choose from, you’ll definitely find one that suits you best!

    To change this, please navigate to Customizer > Integrity > Shop Options:

    – change Shop Title
    – change Shop Subtitle

    http://i.imgur.com/xadjakb.png

    Hope it helps 🙂

    #1125312
    Thai
    Moderator

    For the #1, you can take a look at this article: https://kb.yoast.com/kb/how-do-i-change-the-woocommerce-shop-page-title/.

    #1125839
    Integratutions
    Participant

    THank you! It’s working perfectly! 🙂

    #1125844
    Rahul
    Moderator

    Glad that worked for you!

    If you have anything else, let us know. We’d be happy to assist you with everything.

    Thanks for using the X-Theme!

    #1125936
    Integratutions
    Participant

    Hello!

    I need help again but with Product Category and Product Tag pages :
    http://perfectweddingcars.sg/cars-category/bmw/
    http://perfectweddingcars.sg/cars-tag/2-seater/

    How do I edit the page title “Cateogry Archive” and also the description : “Below you’ll find a list of all items that have been categorized as “BMW”

    And lastly, the white border surrounding product title and price seems to be missing/incomplete.

    #1126333
    Rad
    Moderator

    Hi there,

    You can edit that by duplicating this template \wp-content\themes\x\framework\views\integrity\_landmark-header.php to your child theme (eg. \wp-content\themes\x\framework\views\integrity\_landmark-header.php ).

    And find these blocks and edit them,

    <?php elseif ( x_is_product_category() ) : ?>
    
      <?php
    
      $meta     = x_get_taxonomy_meta();
      $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Category Archive', '__x__' );
      $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    
      ?>
    
      <header class="x-header-landmark x-container max width">
        <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
        <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
    <?php elseif ( x_is_product_tag() ) : ?>
    
      <?php
    
      $meta     = x_get_taxonomy_meta();
      $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( 'Tag Archive', '__x__' );
      $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been tagged as ", '__x__' ) . '<strong>&ldquo;' . single_tag_title( '', false ) . '&rdquo;</strong>';
    
      ?>
    
      <header class="x-header-landmark x-container max width">
        <h1 class="h-landmark"><span><?php echo $title; ?></span></h1>
        <p class="p-landmark-sub"><span><?php echo $subtitle; ?></span></p>
      </header>

    Hope this helps.

    #1126599
    Integratutions
    Participant

    Hello! I managed to change part of the text. However I would like to include the variable behind the word “Brand”, so for example it becomes Brand BMW when BMW Product Category is clicked.

    Here’s my code that I edited to. Please advice.

    I also need help to change My Tag cloud’s button background to white. What’s the CSS code for that? 🙂

    <?php elseif ( x_is_product_category() ) : ?>
    
      <?php
    
      $meta     = x_get_taxonomy_meta();
      $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( "Brand" , '__x__' );
      $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    
      ?>
    
      <header class="x-header-landmark x-container max width">
        <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
        <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
      </header>
    #1126907
    Rad
    Moderator

    Hi there,

    Please change it to this,

    <?php elseif ( x_is_product_category() ) : ?>
    
      <?php
    
      $meta     = x_get_taxonomy_meta();
      $title    = ( $meta['archive-title']    != '' ) ? $meta['archive-title']    : __( "Brand" , '__x__' ).' '.single_cat_title( '', false );
      $subtitle = ( $meta['archive-subtitle'] != '' ) ? $meta['archive-subtitle'] : __( "Below you'll find a list of all items that have been categorized as ", '__x__' ) . '<strong>&ldquo;' . single_cat_title( '', false ) . '&rdquo;</strong>';
    
      ?>
    
      <header class="x-header-landmark x-container max width">
        <h1 class="h-landmark"><span><?php echo $title ?></span></h1>
        <p class="p-landmark-sub"><span><?php echo $subtitle ?></span></p>
      </header>

    As for tag cloud’s background, please add this CSS to Admin > Appearance > Customizer > Custom > CSS

    .widget_tag_cloud .tagcloud a, .widget_product_tag_cloud .tagcloud a {
        background-color: #fff;
    }

    Hope this helps 🙂

    #1131621
    Integratutions
    Participant

    Hello Rad,

    Thank you! It’s all working now:)

    #1131675
    Lely
    Moderator

    You’re welcome!

    Cheers!

    #1133796
    Integratutions
    Participant

    Hello!

    I have a few more questions.

    1. The white borders around my product info are missing. Please advice.

    2. How do I change Read More to View Car

    3. How do I increase the number of product displayed to 20 per page?

    THank you!

    #1133798
    Integratutions
    Participant

    Screenshot as attached

    #1134646
    Rad
    Moderator

    Hi there,

    1. Please add this CSS,

    .woocommerce li.product .entry-wrap {
        border: 1px #fff solid;
        box-shadow: none;
    }

    2. Please add this code to your child theme’s functions.php

    add_filter( 'woocommerce_product_add_to_cart_text' , 'custom_woocommerce_product_add_to_cart_text' );
    
    /**
     * custom_woocommerce_template_loop_add_to_cart
    */
    function custom_woocommerce_product_add_to_cart_text() {
    	global $product;
    	
    	$product_type = $product->product_type;
    	
    	switch ( $product_type ) {
    		case 'external':
    			return __( 'Buy product', 'woocommerce' );
    		break;
    		case 'grouped':
    			return __( 'View products', 'woocommerce' );
    		break;
    		case 'simple':
    			return __( 'Add to cart', 'woocommerce' );
    		break;
    		case 'variable':
    			return __( 'Select options', 'woocommerce' );
    		break;
    		default:
    			return __( 'View Car', 'woocommerce' );
    	}
    	
    }

    3. Please go to Admin > Appearance > Customizer > Woocommerce and change the value of Posts Per Page option.

    Hope these helps.

  • <script> jQuery(function($){ $("#no-reply-1125034 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>