This topic has 16 replies, 7 voices, and was last updated 8 years, 11 months ago ago by Brian Johnson
How can i Hide Information from the Single product page which are
PRODUCT INFORMATION
Product code:
Categories:
and Tags
i just want Product Name , Price and Size Guide
Hello,
Please add this code in custom.css file:
.single-product-page .product-info h4, .single-product-page .product-info .sku_wrapper, .single-product-page .product-info .posted_in {
display: none;
}
How to create custom.css you can watch in this tutorial.
Thank you.
Regards,
Eva Kemp.
Wow Thank You Very Much very good and effective support i’m very impressed
Hi,
great, I wanted to ask the same, thx!
One related question:
How is it possible to change the order of the the price and description text? So basically i want the short description text to be seen first and then the price and other information (quantity, variations…)
Thanks in advance
Sonic
Hello,
unfortunately our theme does not have such feature by default. You only need to edit theme files for this, if you have appropriate skills.
Regards,
Stan Russell.
Hi,
We would like something similar ; so we tried to paste the code you gave, but it doesn’t work, especially when a product is “variable”.
We would like to hide “SKU” “additional info” “tags” and “categories” but we want “reviews”
Thanks in advance,
Hello @saphiloche,
Add this code in custom.css file:
.single-product-page .product-info .sku_wrapper, .single-product-page .product-info .posted_in {
display: none !important;
}
How to create custom.css you can watch in this tutorial.
Regards,
Eva Kemp.
Hi,
thanks for the quick response.
but it still doesn’t work for “send to a friend” (envoyer à un ami) “SKU” (ugs) and “categories” (catégories)
you can check it…
Thank you,
saphiloche
Hello
You may use this code instead:
.single .product_meta, .single .email-link {
display: none !important;
}
With best regards
Brian Johnson
Hi,
yesss ! it works like a charm ;o)
thanks a lot for the quick response and the support.
Unfortunately, I just noticed I have another issue with the cart…we have multiple “checkout” buttons
Go to our shop, add a product then go to the cart, you’ll see
Thanks again,
saphiloche
Hello,
You can commented the code in the file wp-content/themes/woopress/woocommerce/cart/cart.php on line 162. Please clear browser cache and check.
Regards,
Robert Hall.
Please add following code into the custom.css:
.cart-collaterals{display:none}
With best regards
Brian Johnson
Hi,
well, look what we have from line 162 to line 176
line 162 = <div class=”bag-total-table”>
<?php woocommerce_cart_totals(); ?>
</div>
</div>
</div>
</div>
</div>
<div class=”cart-collaterals”>
line 174 = <?php do_action( ‘woocommerce_cart_collaterals’ ); ?>
</div>
We don’t think it makes a big difference but our theme is the “woopress” one, not “legenda”
saphiloche
Hello,
Next time please don’t create post in Legenda topic.
Did you comment out this code? < ?php do_action( 'woocommerce_cart_collaterals' ); ?>
Regards,
Robert Hall.
Hi,
Really sorry about the wrong topic…we werre so happy to find one talking about “hiding”…
Yes we did and it works, thanks a lot.
Thanks a lot,
saphiloche
You are always welcome!
With best regards
Brian Johnson
You must be logged in to reply to this topic.Log in/Sign up