WordPress.org

Ready to get started?Download WordPress

Forums

Catablog product pages (3 posts)

  1. DirtyBirdDesign
    Member
    Posted 1 year ago #

    how do you create individual product pages on the fly? or do you have to create a static page an link each product thumbnail/title/description to the correct page? Man Im lost here and need to get this figured out so any help is greatly appreciated!

  2. APRWebdesign
    Member
    Posted 1 year ago #

    hy there,

    i hope someone will read this for a quick solution cause it had keep me busy for days.

    to display a archive page and a singe product page u have to insert the shortcode

    [catablog template=archive] to your page where you want to show your product archive's

    IMPORTANT:
    go to wp-admin -> catablog -> options -> public-> and Enable Individual Pages and Category Archives:

    and then you create single-catablog-items.php and add it to your template folers ( wp-content/theme/yourtheme)

    inside the single-catablog-items.php page you past the wordpress loop :

    <?php
    get_header();
    if (have_posts()) :
    while (have_posts()) :
    the_post();
    the_content();
    endwhile;
    endif;
    get_sidebar();
    get_footer();
    ?>

    now your catablog page will show the archive and when u click the permalink you will be taken to the product details page.

  3. DirtyBirdDesign
    Member
    Posted 1 year ago #

    Great response, I have 2 questions and you seem to be the source for answers so I hope you can answer these as well.
    1. What do you put for the "Individual Pages Slug" and the "Category Pages Slug" in the catablog -> options -> public settings

    2. I have it set up so there are "Category" pages ie dogs, cats, birds etc and each catablog item with the appropriate category is shown on the appropriate page. How exactly does the thumbnail (dog, cat etc) on its "Category" page link up to the "Individual Product Page"? Forgive my ignorance but I dont quite follow with the "Archive" page term.

    Thank you,
    Kane

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags