Support » Fixing WordPress » [Plugin: eShop] Listing Products by Category Rather Than Department Pages?

  • Resolved Dan Poynor

    (@danpoynor)


    I’m currently using WordPress Post Categories to organize products into groups.

    Reading the eShop Help section it looks like I really should create a Department Page (for each Category) then a Page for each product (rather than a Post for each product).

    Is that correct?

    Either way, when displaying a list of products, is it possible to have an Add To Cart button next to each product so users don’t have to go to the individual product page first?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Is that correct?

    Yes – although you can use posts instead of pages in the newer versions of eShop.

    is it possible to have an Add To Cart button next to each product

    Yes. Check out the shortcodes section in Admin/eShop/Help – especially with regard to using the ‘form’ attribute (which displays a shortened “Add to cart” form).

    As esmi says, the form=’yes’ is the bit you are after

    I use:

    [eshop_list_new class='hilite' panels='yes' form='yes']

    Thread Starter Dan Poynor

    (@danpoynor)

    Sorry if this is a lame question – but can I put a shortcode in a template? I have a category.php file that’s iterating through the products to display.

    If I have to paste the shortcode into each individual post it could take a while to manually update 160 products.

    Also I think pasting a shortcode into each post would change the individual product pages.

    Thanks,
    DAN

    there is a function do_shortcode that I think will do what you want.

    most of the display shortcodes were used with pages in mind, so some don’t work as well with posts. Check the settings page as well though, as there is a setting on there to enable the forms on some listing pages.

    I am sorry if this sounds like a dumb question..

    but what exactly are department pages? i’ve been trying to put products into individual pages without any department pages and that seems to be fine.

    is department page the parent page of an individual product page?

    let me know if i have misunderstood something.

    thanks.

    you posted in resolved thread – better to start new ones in future.

    A department page is just a parent page of a group of product pages.
    eg.:
    Shop
    -Department A
    –product 1
    –product 2
    -Department B
    –Product 3
    –Product 4

    then what shortcodes are u supposed to put on a department page as oppose to the online shop homepage?

    thanks

    You need to check he help page within the plugin and choose what is best for you from the available shortcodes.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: eShop] Listing Products by Category Rather Than Department Pages?’ is closed to new replies.