Tagged: x
-
AuthorPosts
-
August 10, 2016 at 12:41 am #1125034
IntegratutionsParticipantDear 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!
August 10, 2016 at 12:42 am #1125038
IntegratutionsParticipantThis reply has been marked as private.August 10, 2016 at 5:13 am #1125303
ThaiModeratorHi 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 Subtitlehttp://i.imgur.com/xadjakb.png
Hope it helps 🙂
August 10, 2016 at 5:18 am #1125312
ThaiModeratorFor the #1, you can take a look at this article: https://kb.yoast.com/kb/how-do-i-change-the-woocommerce-shop-page-title/.
August 10, 2016 at 11:48 am #1125839
IntegratutionsParticipantTHank you! It’s working perfectly! 🙂
August 10, 2016 at 11:51 am #1125844
RahulModeratorGlad 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!
August 10, 2016 at 12:47 pm #1125936
IntegratutionsParticipantHello!
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.
August 10, 2016 at 6:35 pm #1126333
RadModeratorHi 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>“' . single_cat_title( '', false ) . '”</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>“' . single_tag_title( '', false ) . '”</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.
August 10, 2016 at 9:01 pm #1126599
IntegratutionsParticipantHello! 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>“' . single_cat_title( '', false ) . '”</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>August 11, 2016 at 3:32 am #1126907
RadModeratorHi 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>“' . single_cat_title( '', false ) . '”</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 🙂
August 15, 2016 at 4:31 am #1131621
IntegratutionsParticipantHello Rad,
Thank you! It’s all working now:)
August 15, 2016 at 5:33 am #1131675
LelyModeratorYou’re welcome!
Cheers!
August 16, 2016 at 11:36 am #1133796
IntegratutionsParticipantHello!
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!
August 16, 2016 at 11:38 am #1133798
IntegratutionsParticipantScreenshot as attached
August 16, 2016 at 10:56 pm #1134646
RadModeratorHi 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.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1125034 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
