Tagged: prices, Product page
-
AuthorPosts
-
July 30, 2015 at 5:13 pm #480786
Hopefully someone can help me! I launch my brand in a week and need help fixing the final tweaks!
1. How can i show the prices under my product names in shop pages and on my front page – http://www.asterandoak.com.au
2. How can i make the price stay just under the product name and review on my products page. I dont like that the customer has to click on a size to get the price and dont like where it is positioned. Please see – https://www.asterandoak.com.au/product/fox-organic-baby-romper/
I would like it to be above the dropdown box and description..
3. Is there a way to change JUST my product titles on the shop pages? I know its the H3 tag used but dont want to change that as its also for all my category titles and other stuff.. I just want to make the product titles smaller https://www.asterandoak.com.au/product-category/baby-boys-organic-clothing/baby-boys-organic-rompers/ See how big it is? And also want the price below them – See questions 1.Thankyou very much in advance!!!!
MelAugust 2, 2015 at 6:13 am #481744Hi Mel!
1. Try using another element for that, like a Product Slider (should be under Plugin Additions on ALB).
2. Do all your Products have variations? or just some?
3. Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueAugust 2, 2015 at 6:53 am #481745Hi Josue!
Thanks for the reply :-) As for questions 1, i would prefer just to have it as the normal shop view and not use a slier or anything. WordPress is hard enough for me to use as it is.. lol.. Is there anyway just to get prices to show like a normal shop?
2. Yes they all have variations except the baby blankets. I haven’t added all the products yet, or done it properly because i am still not 100% on how to add them correctly. I will be adding them very soon, just wanted to fix the pricing thing up first if possible.
3. Yes i will paste an admin account below. Thanks!
P.S – I have not updated Enfold theme yet, please dont update it as i haven’t saved anything or backed up what i have changed (which is alot)
August 2, 2015 at 7:37 pm #481796Any luck? I see the enfold Demo theme has the prices in both standard shop and masonry shop.. I still cant figure out why mine wont show!
August 2, 2015 at 8:19 pm #481799Hi!
Price not showing seems to be caused by this code you have in your child theme functions.php:
function patricks_custom_variation_price( $price, $product ) { $target_product_types = array( 'variable' ); if ( in_array ( $product->product_type, $target_product_types ) ) { // if variable product return and empty string return ''; } // return normal price return $price; } add_filter('woocommerce_get_price_html', 'patricks_custom_variation_price', 10, 2);
I’ve commented it now and you can see the price showing in the homepage and in category listings too.
Best regards,
JosueAugust 2, 2015 at 8:35 pm #481803Thank you so very much Josue!! I dont even know where that code came from? Maybe the developer i hired at the start?!
I do notice i now have 2 prices showing in the product pages. Is there any way to get rid of the 2nd price which shows when you choose a variable option from the drop down box?
And also do you know how i can easily change the size of my product headings on the shop pages without changing the actual H3 tag?
Thankyou!!
August 2, 2015 at 9:29 pm #481807Hey!
Try adding this to Quick CSS / child style.css:
.single-product .single_variation > .price { display: none !important; } .inner_product_header h3 { font-size: 22px !important; }
Best regards,
JosueAugust 2, 2015 at 9:59 pm #481818AWESOME! Thankyou soooo much!! All fixed up. Very happy! :-)
August 2, 2015 at 10:10 pm #481823You are welcome, glad to help :)
Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.