Individual Product Pages
-
I followed a tutorial on setting up my products in Woocommerce. But my products page only has “add to cart” options and never shows the product descriptions. What did I do wrong?
Thanks for the help.
The page I need help with: [log in to see the link]
-
Something looks like it’s broken on your site currently. So it’s hard to say. It’s best not to use Elementor on WooCommerce pages either. Makes it harder to customize or hook.
Great, looks like you reverted back now. PDP or Product Details Pages look good. Also, if you want to use a landing page for all products called “products” you will need to change your permalink structure to apply that.
I have a funny feeling that’s what was messing things up too since “products” is a default url of WooCommerce.
thanks but I haven’t done anything since I posted this question.
should I be creating a product page for each different product?
OMG that’s so odd. LOL that’s funny. Well it was fixed on a refresh. I also bypassed your cache though too. However, in cache it still looks good now.
Yes, each product needs to be created separately unless you are doing bundles and or group products then you would do those as well.
Here’s an article on how to create Group Products
Here’s an article on how to create Bundle Products
Thanks. I realize I can see product pages by clicking on the product title as opposed to adding to the cart right away.
Thanks for the help.
Hey there!
I checked the product page for A Very Berry Christmas and Everlasting love and both are showing the product description:
Are you seeing something different? If you are, can you share a screenshot so we can check it? I’d recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
But as Stef mentioned, the products page is not showing correctly on my end too. But this is probably an issue with either Elementor or the theme you are using.
Can you please deactivate Elementor and switch to a default theme (such as Storefront, for example) to see if the products page shows correctly?
Additionally, I just wanted to confirm if when you talked about the description, did you mean you want it to show on the products page or on each individual products (as I shared on the screenshot)?
Looking forward to your reply.
Have a wonderful day!
Thank you Carol
My products page is showing correctly for me. I tried to share a screenshot but couldn’t get snipboard to work.
I have three products across the page. What I forgot was that someone needs to click on the title of the product to see the product description page. I don’t really like that all someone sees is “add to cart” on that page. I would rather have the button say, “More info” or something like that rather than “add to cart”. From what I have been able to find, this would require some php coding to be able to change.
I will look on my dashboard, but I am not sure how see the product page with Elementor deactivated.
Hey @thewildbonbon,
Thanks. I realize I can see product pages by clicking on the product title as opposed to adding to the cart right away.
This is expected default behavior. Clicking on
Add to cart
typically doesn’t redirect to the single product page – so it looks like everything is working as expected here. ??I have three products across the page. What I forgot was that someone needs to click on the title of the product to see the product description page. I don’t really like that all someone sees is “add to cart” on that page. I would rather have the button say, “More info” or something like that rather than “add to cart”. From what I have been able to find, this would require some php coding to be able to change.
Ahh, I understand what you want to achieve. Usually “More info” is displayed when products are out of stock however, its possible to change the “Add to cart” button text and behavior with custom code, as you mentioned.
Although help with custom code is outside our scope of support, you can try the following code snippet and see if this does the trick:
//Replace Add to Cart with More Info and Redirect to Single Product Page// add_filter( 'woocommerce_loop_add_to_cart_link', 'replacing_add_to_cart_button', 10, 2 ); function replacing_add_to_cart_button( $button, $product ) { $button_text = __("More Info", "woocommerce"); $button = '<a class="button" href="' . $product->get_permalink() . '">' . $button_text . '</a>'; return $button; }
You need to add the code to your child theme’s
functions.php
file or via a plugin that allows custom functions to be added, such as the Code snippets plugin.Please don’t add custom code directly to your parent theme’s
functions.php
file as this will be wiped entirely when you update the theme.Hope this helps!
Howdy,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if you need any further help with this.
Cheers!
- The topic ‘Individual Product Pages’ is closed to new replies.