Forum Replies Created
-
in reply to: Product Imgaes & Layout, and Cart Button Formatting
Mihaila (and others who are looking in the future): The code above didn’t work until I added !important to the end.
.single-product a.reset_variations { display: none !important; }in reply to: Product Imgaes & Layout, and Cart Button FormattingThank you!
in reply to: Product Imgaes & Layout, and Cart Button FormattingMihaila –
Thank you, that looks great!
However (sorry, I really thought I was done with this part) looking at the user experience now when I see this section, it is confusing. The price seems to be floating in an odd position, down in no man’s land above the number of items – I didn’t see it at first. Here is a link to the exact page again: https://66.147.244.177/~lavendl6/product/lavender-essential-oil-intermedia-blend
1. Is there any way to move the price so it appears directly in between the number of items and “add to cart” button? So basically, on that same row of the table? The “add to cart” button might need to scoot a little to the right.
2. Can I remove “clear selection” completely? I think it’s cluttering it up and making it harder to see the important info.
You have been so incredibly helpful – I really appreciate it.
Rebecca
in reply to: Product Imgaes & Layout, and Cart Button FormattingMihaila –
1 – It worked – thank you!
2 – Thank you!
3- Thank you! The text looks great. Now, is there any way to put a small amount of padding between the grey square and the selection box?
4- Thank you!
in reply to: Header/Sticky Nav visual shift & space above sliderMihaila – It looks great now. Thanks!
in reply to: Product Imgaes & Layout, and Cart Button FormattingThis reply has been marked as private.in reply to: Product Imgaes & Layout, and Cart Button FormattingThis reply has been marked as private.in reply to: Product Imgaes & Layout, and Cart Button FormattingMihaila –
1. Can I reach this file through the WP dashboard where I find functions.php (Appearance>Editor) or do I have to access it another way?
2. I do not have a sidebar in the shop page – though there is a large blank space on the right where I presume the sidebar would show. Is there an additional setting I need to change somewhere?
3. I’ll send you my credentials in a private message (since my site isn’t live yet) with a link.
4. Thank you! That worked. However – I just noticed that the font in the “proceed to checkout” button is different than the font in “update cart” and “apply coupon” – can you help with that? Is that due to the code I added to move the “proceed to checkout” button up further on the page?
Thanks!
Rebecca
in reply to: Header/Sticky Nav visual shift & space above sliderMihaila –
1. I turned off “Make Transparency Header” under Tower>Header Options – and nothing happened. The white space is still there, and the header is still transparent. Do I have another setting somewhere that is overriding this?
2. No, I did not fix it. The bump is still happening for me. I tried it in a different browser, and it is still happening. Perhaps it is my screen size? Since it’s an active issue, I can’t take a screenshot. I’m not sure what else to do to point you in the right direction. Ideas?
Rebecca
in reply to: Woocommerce Template Files out of dateThis is perfect – thank you!
in reply to: Woocommerce Template Files out of dateMihaila – Thank you so much! I had a suspicion that I was adding the code to the wrong spot. Now I know where to add it for other/future changes, so thank you again. I really appreciate it.
Do you know how to change the text of the “add to cart” button, so that it says “product info” or “view product” instead? Or is that something I would need to ask back in the wordpress.org forum?
Thank you for the CSS – I may choose to do that if I can’t change the button text.
Thank you again for all of your help!
in reply to: Woocommerce Template Files out of dateMihaila – When I follow those instructions, it does not work. I suspect I am adding this information to the wrong area, because when I open functions.php it does not look like what you showed me on your screenshot.
I have been getting to the functions.php page by going through Appearance>Editor and then selecting the functions.php file from the list on the right. Is there somewhere else that I’m supposed to be adding it instead?
I’ve left it as-is so you can see what I’ve done. Please let me know if I’m missing a } bracket, put it in the wrong spot, etc.
Thank you so much for your help!
in reply to: Woocommerce Template Files out of dateThanks Mihaila! Here is my issue (WooCommerce specific):
When you click on a product category or subcategory, you see a list of products (image, name, and price.) When you hover over the product image a button pops up that says “add to cart.” You need to click on the product image to go to the product page that has the actual product information (product description, reviews, etc.).
It is confusing, because it isn’t intuitive, and so far no one I’ve tested the site on has figured out that if you click on the image, you’ll get more information about the product. I want to change the button to “product info” to send you to the product page instead of adding to the cart.
The WooCommerce author who responded to my request on the forum gave me the following instructions, but they didn’t work. I’m hoping that it’s a matter of the outdated php files.
INSTRUCTIONS FROM WOOCOMMERC AUTHOR
Turn off the ‘ajax add to cart’ option in WC > Settings > ProductS
Add this to theme functions.php:
add_filter( 'woocommerce_product_add_to_cart_url', 'custom_woocommerce_product_add_to_cart_url', 10, 2 );
function custom_woocommerce_product_add_to_cart_url( $url, $product ) {
if ( $product->is_type( ‘simple’ ) ) {
$url = get_permalink( $product->id );
}return $url;
}If you want to see the entire conversation, it’s here:
https://wordpress.org/support/topic/change-add-to-cart-button-in-category-to-product-description-1?replies=8#post-8191868
in reply to: Woocommerce Template Files out of dateMihaila – Do you have an estimate for when the next theme update will happen?
I’m trying to customize WooCommerce on my functions.php page, and the code is not working (I’ve been speaking to someone on the wordpress.org forum.) We can’t figure it out, and all I can think is that it’s related to those two outdated files. I would change them manually, but after reading how to do it I’m not sure I understand and I don’t want to screw up my site.
Mahaila – That is so strange. It is not showing on my phone (Android.) It does show when I flip the phone to landscape view. It was showing when you originally did it – but perhaps the issue is with my phone, not the code. Let me try accessing the site on other phones and I will get back to you if I still need help.
Thanks!