• I have a custom theme and store layout all set and ready for products, before I switch to Simple Paypal Payment plugin I was wondering if there’s a way to simply create products that can be displayed anywhere on my website without the creation of a Woocommerce product page i.e example.com/product/itemname?

    I really only need the product and shopping cart feature and don’t want Woocommerce to add it’s own structure and product pages as I can’t style them to my needs.

    For example I’d like to add a Car product to example.com/FordCars but when I create the product Woocommerce creates the page example.com/product/Car.

    I tried to manually insert the product ID into a custom page with a shortcode but alas the checkout page links to the auto-created page with it’s own styling and this will cause duplicate problems.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    You can output products using shortcodes.

    https://docs.woothemes.com/document/woocommerce-shortcodes/

    Since products are a custom post type, its correct that each gets a product page. You *could* disable these by hooking into the post type definition and making the products non-public (https://codex.wordpress.org/Function_Reference/register_post_type) but this doesn’t sound like a great solution. Products can be styled however you want using the template hierarchy.

    https://developer.wordpress.org/themes/basics/template-hierarchy/

    If you don’t need product pages, or a full store, WooCommerce is probably overkill for your needs – its not hard to use a Stripe checkout embed, or simple paypal button if thats all you need. That does’t mean WC deserves a 1 Star (why you do dis), its just too much for your simple needs. You should understand this beforehand.

    Thread Starter YOELO

    (@yoebo)

    I do need product pages and a full store, I’d like to add products I create to these pages instead of Woocommerce creating it’s own shop and product pages which in my opinion aren’t very good for navigation and styling within a custom theme.

    I’m sure it work great with WooThemes.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    How are they not good for navigation and styling? Navigation you have:

    – breadcrumbs
    – the product archives
    – any links you add to your site nav

    How is that in any way more limited than **manually** setting up pages? Makes no sense.

    Thread Starter YOELO

    (@yoebo)

    I think WC should let you create stand alone products which can be added to your own custom styled pages instead of it creating shops and product pages for you.

    Plugin Contributor Mike Jolley

    (@mikejolley)

    I think WC should let you

    Nothing stops you. Output product data however you want, if you have dev skills. Or use a simple shortcode on a regular page.

    Average user however is not interested in this so it makes perfect sense to generate product pages and product archives as we have been doing for 3 years with few complaints 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Product creation without page.’ is closed to new replies.