In regards to
1. Custom post types that you created with Toolset, and
2. Custom post types created by the theme and other plugins
I created a plugin that added a set of custom post types related to my project and uploaded it. Those post types now appear in the Toolset dashboard along with the standard WP and the Woocommerce product post types listed as Custom post types created by the theme and other plugins.
Because I am building a searchable site of artwork products and I want to manually create admin users capable of adding new and editing existing artwork products from the front-end, I am attempting to follow the Toolset article https://toolset.com/learn/build-directory-classifieds-sites-using-toolset/ for some general guidance and adapt it to my project needs.
With the CPT's I previously created with the plugin activation, I wanted to select them from the Toolset Post Type page so I could make sure that "Use the post title to store the title of your ads and Use the editor to store your ad body" options were selected for each custom post type that was pre-programmed.
That is when I noticed the difference between the pre-programmed CPT's and Custom post types that you create with Toolset and I'm stuck not knowing with which to proceed. Can you please advise?
Also, if I'm selling the artwork from the site, will woocommerce over-ride the custom post-types I created with the "product" post type with it appearing in the url slug?
Thank you.
That is when I noticed the difference between the pre-programmed CPT's and Custom post types that you create with Toolset and I'm stuck not knowing with which to proceed. Can you please advise?
I would advise that you create custom post types in Toolset if you want the ability to manage post type options like you described in wp-admin. If you already have posts in these custom post types you don't want to lose, you can recreate the post type using the original slug (once you deactivate the plugin you implemented to register custom post types). Your posts will not be lost.
Also, if I'm selling the artwork from the site, will woocommerce over-ride the custom post-types I created with the "product" post type with it appearing in the url slug?
I wouldn't recommend using a custom post type like "Product" or a custom post type slug "product" if you're going to use WooCommerce. The WC system is set up to organize your shop by products and product categories, which are its own custom post type and taxonomy. I would port those existing "Product" posts into real WooCommerce Products, then delete the custom post type Products unless there is a very good technical reason to have both.
There are no existing posts at this point. I must have misunderstood when attempting this before that I needed to program CPT's in order to produce URL results as hidden link. This is entirely managed by post-types created in Toolset?
Can the same URL's be used as woocommerce product pages?
I'm confused, sorry. If possible, can you tell me what you want to accomplish in terms of custom post types, products, and URL structures?
The site that I am currently working with is using a staging domain. When the site is completed the domain will be changed to jayzerbe.com. The new site must be searchable and manually registered admin user enabled to add new and edit existing posts from the front end.
The website owner wants to post (4 different types of artwork) to the site that is archival and searchable by visitors from a frontend submission form.
Each of the (4 different types or artwork) can have hundreds or more posts added that should be searchable.
I had the impression that I needed to pre-program a custom post type for each of the (4 different types of artwork) in order for the post type to appear in the URL following website.com/ like the default WP posts and projects post types.
The 4 CPT's that I pre-programmed appear in the left menu of the wp-admin and in the Toolset dashboard.
The objective is whatever it takes to display url's in browser address bars as
hidden link
Additionally, posts that are added to the (4 different types or artwork) should also permit the visitor of the page to buy the artwork displayed.
Note: If the pre-programmed CPT's are not needed, I can remove them.
I might have made a mistake by creating the CPT plugin so I deactivated it and instead created a post type for each of the 4 art groups using Toolset. Is this correct?
Okay I see, thanks. By default, WooCommerce creates URLs for all Products in the /products/ directory. There are some other options available in wp-admin > Settings > Permalinks, but nothing exactly like what you have described. The "shop base with category" option is probably the closest, with a URL structure of /shop/product-category-slug/product-slug. Then you could use product categories to organize your 4 product types. If you want to customize the product URLs beyond those options, it would require assistance from WooCommerce because Toolset isn't really set up to provide custom permalink structures for WooCommerce Products.
I don't think it's a good idea to use 4 custom post types, because you would have to create and maintain two posts for each Product: one WooCommerce Product post, and one Custom Post Type post. Then you would have to use post relationships or some other method of linking these two posts.
Bottom line - the client has recently confirmed a total of 5 art groups:
paintings on canvas
paintings on paper,
collage,
ecollage
print editions
and if possible, wants them identifiable in the address bar/url in some way.
Working with Divi builder and Toolset, what would be your recommendation, considering the client's wishes and the capacity of available known resources?
Most importantly I must add, the client wants to be able to:
1. Easily post new work to the website using front end forms
2. Search and edit existing art posts by category (paintings on canvas, etc.), title, year, dimensions, color, price, etc.
3. Website visitors must be able to conduct the same front end search to display art posts.
Working with Divi builder and Toolset, what would be your recommendation, considering the client's wishes and the capacity of available known resources?
- Do not create custom post types for each product type
- Create different product category terms for each product type
- Choose the "Shop base with category" permalink structure in wp-admin > Settings. This will identify the product type by product category slug in the product URL.
Easily post new work to the website using front end forms
There are some limitations you should be aware of when using front-end Forms to create WooCommerce Product posts. Please carefully review the documentation here: https://toolset.com/documentation/user-guides/creating-woocommerce-products-using-cred-forms/
Search and edit existing art posts by category (paintings on canvas, etc.), title, year, dimensions, color, price, etc.
This sounds like something that could be accomplished with Views, based on the general description. Please review the custom search information to learn more about the search filters that can be used in a View.
https://toolset.com/documentation/user-guides/front-page-filters/
https://toolset.com/documentation/getting-started-with-toolset/filter-content-lists-and-add-custom-search/
- Do not create custom post types for each product type
To clarify, are you suggesting that I do not create custom post types in the Toolset dashboard for each of the 5 art (product) types?
- Create different product category terms for each product type
If the 5 art (product) types are set-up as categories rather than post types, what post type do I create in the Toolset dashboard?
- Choose the "Shop base with category" permalink structure in wp-admin > Settings. This will identify the product type by product category slug in the product URL.
Will the title of the artwork (product) appear in the url after the category?
- Choose the "Shop base with category" permalink structure in wp-admin > Settings. This will identify the product type by product category slug in the product URL.
How about selecting Shop base with category hidden link
to include the art-type-category/art-product-title ?
Update:
If this is correct and secure: hidden link
would solve all the issues we have with the url. I changed /shop in "Shop base with category" to /artwork
I don't know if this would be acceptable.
To clarify, are you suggesting that I do not create custom post types in the Toolset dashboard for each of the 5 art (product) types?
Yes
If the 5 art (product) types are set-up as categories rather than post types, what post type do I create in the Toolset dashboard?
None of them
Will the title of the artwork (product) appear in the url after the category?
No, the product slug will appear in the URL after the category.
If this is correct and secure: hidden link
would solve all the issues we have with the url.
Shop and product URLs are managed by the WooCommerce software. Since there is no Toolset custom post type or custom taxonomy involved, it's out of our area of expertise. You should discuss with WooCommerce support if you have questions about security or correctness.
If the 5 art (product) types are set-up as categories rather than post types, what post type do I create in the Toolset dashboard?
None of them
By not having Post Types, will I select: "No Post types/Taxonomies assigned" for the Toolset content templates?
Or do I just use the Products post type in the dashboard for all art products using the category to define the type?