I am trying to:
Create a Toolset Archive Page for Woo products
Link to a page where the issue can be seen: hidden link
I expected to see:
All post elements visible in the Editor
Instead, I got:
Only 2 blocks show - those in the left column of the Archive layout. The content in the right column is getting stripped, not showing in page code.
Sorry about the access issues...I had to upgrade my hosting, and they did a local migration this AM.. that might have caused the issue - The login I sent in the private info in this thread should work for you now..
In the right side there are 2 blocks - Cart Message, and Product Tabs (visible in the Editor screenshot below, along with a screenshot of the DOM view of the Archive template.)
Both are showing up OK in the back end... just not making it into the front end.
?
Is there another way to do this? I wonder what's causing them to be filtered out on the front end?
Regarding the "Cart Message" block:
Add to cart message shortcode is not meant to be repeated for every item in the loop. It should only be displayed in a prominent position. It is best to place the shortcode before wpv-loop or before the beginning of any loop. The reason for this is because Add to cart message is not meant to be unique for every item.
Another important setting is that the "Cart Message" will not work with ajax. So, I navigate to WooCommerce -> Settings page, click the "Products" tab and then the "General" tab. There, uncheck the "Enable AJAX add to cart buttons on archives" option. This is needed because a page refresh is required for WooCommerce “Add to cart” message to work.
Once I've changed above settings, I've move the "Cart Message" block outside the archive loop as you can see with the following screenshot:
=> hidden link
Now when I click no "Add to cart" I can see the cart message : hidden link
Regarding the "Product Tabs" block:
- You can not add this block within the archive loop as it is mean to add the product tabs on single product post. You can add this block with the content template that displays the single product but not within the archive loop.
I'll contact the Doc team and will ask them to update this important information with blocks doc.
Hi Minesh - thank you -
If I understand you, it's possible to add Product Tabs via shortcode, but not with the Toolset/Woo block?
If so, how do I do that? (it seems like there's a few ways) -
If not, is there some other way to get the content from the Woo product description tab into the Archive loop?
If so, would I use a Toolset Text and Fields block? Or a Code block?
My objective is to create a (responsive !) layout similar to this old page: hidden link
If not, is there some other way to get the content from the Woo product description tab into the Archive loop?
==>
you can use single field block and display the post boy or post excerpt to display the product description.
For now, I've added the post body using the single field block:
=> hidden link
New Issue - The product archive is looking great, with one product active.
As soon as I publish another, it breaks the content display and some elements are hidden (or filtered).
Same page - the product archive: hidden link
When the second product is activated, the audio preview and score preview button disappear.
Why is this happening? Is there a solution?
I might need to create new access credentials for you. Should I start a new ticket about this?
New threads created by Minesh and linked to this one are listed below:
This is a new issue and we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery.
You're welcome to close this ticket by adding some different message like "This is for now resolved" as it will not allow you to close the ticket with the same message.