• Resolved David

    (@kazango)


    Hi John,

    I’ve looked everywhere for an email address but you seem to be pretty reclusive lol

    I’m running a multisite network on wordpress 3.8.8 (i believe) and version 0.0.6 of your plugin which I’ve tweaked enough to work with an older version of WooCommerce to display the latest products from each sub-store on the main site. One problem i’m having though is displaying the prices of each product, and was wondering if you had any experience with WooCommerce or any ideas on how to proceed.

    Thanks,
    Jamie

    https://ww.wp.xz.cn/plugins/network-posts-extended/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author johnzenausa

    (@johnzenausa)

    Hi Kazango;

    I am not familiar with WooCommerce plugin. When you create your products does it have an interface similar to when you create a post or page?

    If it does then does it have a manual excerpt field or just a content field.

    Do me a favor and pretend you are creating a new page. Is there a manual excerpt field there? If there isn’t go to the top of the page and click screen options. There should be a checkbox there names excerpt. Just check it and it will show up at the bottom of the page somewhere.

    If there isn’t the above option then install the following plugin:
    https://ww.wp.xz.cn/plugins/page-excerpt/
    It hasn’t been updated for more than two years but still functional. If you don’t feel comfortable with this then add the below code in a php file and name it something like manual-excerpt-on-pages.php.

    The code I’m talking about is:

    <?php add_post_type_support( 'page', 'excerpt' ); ?>

    So the text to put in the file will be (you can just copy and paste the below code in to the file.

    <?php
    /*
    Plugin Name: Manual Excerpt Plugin
    Plugin URI: http://www.yourdomain.com
    Description: Add Manual Excerpt Field to Pages
    Version: 0.1.1
    Author: Your name
    Author URI: Optional
    
    Copyright 2014 Your Name
    
    */
    
    add_post_type_support( 'page', 'excerpt' );
    ?>

    Then install it as you would any other plugin by ftp uploading it or using 7zip or similar program compress it in to a zip file then install it using the standard wordpress interface.

    Then you can put the price in the manual excerpt field.

    Then make sure auto_excerpt=”false” (default).

    That way the text in this field will show up. Just put the price in here.

    If not let me know the php code WooCommerce uses to get the price and I’ll see if I can implement it in to the code. This may take me a little while though.

    Plugin Author johnzenausa

    (@johnzenausa)

    You may now list woocommerce

    Thread Starter David

    (@kazango)

    Oh wow, I didn’t get notified of your original reply 10 months ago or I would have replied sooner.

    I’ll give it another try if I can dig up my old customisations to this plugin in my backups. Thanks so much for your help.

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

The topic ‘Woocommerce support’ is closed to new replies.