Tagged: x
-
AuthorPosts
-
September 7, 2016 at 1:44 am #1164026
spacebunyipParticipantHi there,
I am wondering if it is possible to change the price on the shop catalogue page to only show the first variation in price ($25) rather than ($25-$285). If not can I hide the price on the shop catalogue page and only have it display on the single product page, as it does now – I have the top price hidden via css.
Catalogue Page: http://jenturner.com.au/rolf/wines/
Single Product Page: http://jenturner.com.au/rolf/product/chardonnay/September 7, 2016 at 4:52 am #1164211
ChristianModeratorHey there,
Please add the code below in your Appearance > Customize > Custom > Global CSS
.woocommerce-Price-amount:last-child { display: none; } .woocommerce .price { color: white; text-align: center; }Hope that helps. 🙂
September 8, 2016 at 3:53 am #1166091
spacebunyipParticipantHi
Thanks for that, not quite what I am after though.
That code hides the variations price on the single product page. So only the single product price shows at the top of the page.I think the best option, if possible is to hide the price on the catagory page (and the top of the single product page ) and display only the variation price after the short description on the single product page. Can you let me know if this is possible please.
Thanks
September 8, 2016 at 7:50 am #1166328
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.archive.woocommerce .woocommerce-Price-amount.amount { display:none; }Then add this in Custom > Edit Global Javascript
jQuery(function($) { $('.single-product .summary .price').insertAfter('.single-product table.variations') });Hope that helps.
September 8, 2016 at 8:29 am #1166377
spacebunyipParticipantGetting Closer…
I’ve hidden the price on the archive page, but now want to remove the price range at the top of the single product page and only display the variation price below.
Looks silly now that we have applied the white color to the dash, to hide on archive page as it is hidden on the single product page as well.September 8, 2016 at 11:53 am #1166669
JoaoModeratorHi There,
Please add the following code to Appereance Customizer Custom CSS
.product .type-product div.summary.entry-summary div:nth-child(2) { display:none; }Hope it helps
Joao
September 13, 2016 at 9:55 pm #1174246
spacebunyipParticipantSorry that hasn’t removed anything.
September 14, 2016 at 3:14 am #1174455
ChristopherModeratorHi there,
Please add this code :
.single-product p.price { display: none; }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1164026 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
