• Resolved theatereleven

    (@theatereleven)


    I’ve installed WooCommerce (it rocks) and I’ve got a simple need, but just not sure how to do it:

    My custom WP site already has product pages that are laid out in a detailed manner – I’m not re-working them for WooCommerce. All I need to do is place an “Add to Cart” button on my existing pages that references the right product in WooCommerce and adds it to the cart.

    Is this possible? My custom pages are using either ACF or custom post types (depending on the page).

    Thanks!!!

    BTW – I’ve tried using their short codes, but I can’t get them to show anything. I’m using the format: <?php echo do_shortcode(“[product id=”99″]”); ?>.

    It just breaks the page.

    http://wordpress.org/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Roy Ho

    (@splashingpixelscom)

    You can use the WC shortcodes to add a “add to cart” button in any page you want.

    Thread Starter theatereleven

    (@theatereleven)

    You know…found the answer.

    This formatting worked:

    <?php echo do_shortcode(‘[product id=”99″]’); ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Place "Add to Cart" link next to custom post type.’ is closed to new replies.