Welcart e-Commerce
How to associate with WordPress posts? (5 posts)

  1. erick_paper
    Posted 5 years ago #

    Hi. I am trying this out. I do NOT want to create separate product pages/posts within this plugin.

    I want this plugin to take the product details I already have setup through a Post for each product.

    How does that work


  2. hitotch
    Posted 5 years ago #

    Do you mean that you need some short code?

    I may have a solution, but I need to understand what you want to do.
    Do you need 2 or more products for 1 page or post?
    What is the problem when you just use the product detail?

  3. ty999
    Posted 5 years ago #

    i think erik has a point.

    hitotch, erik and I want to use the regular posts instead of using the custom posts provided by the plugin. This will be on the lines of the eshop plugin.

    Your plugin is awesome no doubt. Just was looking to use our own themes and custom fields etc in the plugin...

  4. ty999
    Posted 5 years ago #

  5. hitotch
    Posted 5 years ago #

    Welcart does not have the original data table for the products.
    Product data is stored in the table of posts and post_meta.
    So you can pull the product data by WordPress functions and template tags like usual posts.

    Welcart has the original template tags, so if you are interested in the template tags, see usc-e-shop/functions/template_func.php.

    And the latest (v1.0.3) has the template wc_templates/wc_item_single.php in the default theme (usc-e-shop/theme/welcart_default).
    This template is for product details, and you can see how to use the template tags in it.

    If you are using the older version, please be noticed that upgrading Welcart to the latest version does NOT update your theme. If you like upgrading the Welcart default theme, please delete the Welcart default theme at first, then re-activate the welcart plugin. This installs the Welcart default theme.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Welcart e-Commerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic