Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Category listing shortcode
- This topic has 5 replies, 2 voices, and was last updated 4 years ago by veramilo.
-
AuthorPosts
-
November 3, 2020 at 2:20 pm #81809veramiloSpectator
Is there a shortcode to list all products in a specific category along with its thumb, title, description, and price (and links) but NOT the “collect customer input” field nor the button for adding it to the cart? I’ve been through the shortcodes but I haven’t been able to find anything.
I want buyers to order only after they go to the individual product pages. Some of my products are live webinars where registration is processed & paid through an outside webinar system (not my shop) so “add to cart” will create a huge mess.
I know I can manually create a listing for each webinar, but I would like to do it automatically — especially for webinars because I have to add and remove them frequently so I’d like to do that by categorizing/uncategorizing instead.
Thanks!
November 3, 2020 at 6:14 pm #81814adminKeymasterIf you are using an external system to sell, then you need to use product listing from them. Our plugin’s listing is going to have the buy option from our plugin.
One option you can try is to use is the “Button Redirect Target URL” field in the product configuration. That will redirect the customer to the specified URL (instead of adding the item to the cart). So it can be used to send the user to an external site or page.
November 4, 2020 at 4:35 pm #81818veramiloSpectatorI didn’t really have any issue with integrating external site orders into my site. I just didn’t want customers to use the category listings to add a product to their cart. I wanted that to function simply as kind of table of contents to navigate my product selection. These items only link to the detail page where customers can order or re-download a products they already purchased. I use emember to manage that part of it. So all I needed was to hide the “collect customer input” field and “add to cart” button in the category listings.
After experimenting, I discovered that changing type=1 to type=0 for the button style in the shortcode below did the trick!
[wp_eStore_category_products_fancy id=8 style=10 order=1 type=1]
This is exactly what I was looking for and it existed all along. But I didn’t know that because the shortcode setup wizard in the WP editor toolbar doesn’t offer “no button” as an option. I assumed that because it wasn’t listed as a selectable option, it didn’t exist. So I would suggest adding it as a selectable option.
- This reply was modified 4 years ago by veramilo.
November 9, 2020 at 12:50 am #81902veramiloSpectatorOn the same note, I have another shortcode parameter setting that I can’t find but am hoping exists…
I do not want my category listings to show the quantity available for my products.
This is the fancy shortcode I’m using:
[wp_eStore_category_products_fancy id=1 style=1 show_price=1 order=1 type=0]
I tried all of these variations to make it hide the inventory but none of them work:
show_qty=0
show_quantity=0
show_available=0Does this exist or can it be added? This is for displaying all the products in a specific category. It’s not for displaying a single shop item.
November 9, 2020 at 6:41 pm #81904adminKeymasterThe output of the product comes from the product fancy template. There is an example of how they look on the following page:
You need to pick one that’s closest to what you want. Try style=10 which I think will be better as that one doesn’t show the available quantity.
November 14, 2020 at 2:05 am #81957veramiloSpectatorThank you.
-
AuthorPosts
- You must be logged in to reply to this topic.