• Resolved paolapisano

    (@paolapisano)


    Hi,
    i tried to use shortcode inside a woocommerce my-account window, in order to have a complete user menu with also taylored documents for woocommerce customers.
    Is it possible to add also the woocommerce/woocommerce.php so that the front end can work properly also with woocommerce, not only with so-widget or wp roket?

    thanks a lot
    regards
    Paola

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bhaldie

    (@bhaldie)

    Im not formulary with woocommercre.php can you tell me exactly what you mean by adding that file.

    Thread Starter paolapisano

    (@paolapisano)

    Hi,
    i’m sorry i didn’t explain everything exactly…. With woocommerce there are some compatible plugins which permit you to create a private area menu, with voices like your account, addresses, orders…etc… and more plus voices you can decide as you want. For example customer documents, invoices, etc…

    One of this plugin is SS WooCommerce Myaccount Ajax Tabs.
    I asked to the owner of this plugin how to work in order to have the right formatting result of memphis in the woocommerce page, because i though it was a problem of his plugin.
    He studied plugins working together and modified this in your plugin in memphis-documents-library/includes/mdocs-settings.php ( in every row where you have the control on “so-widget bundle” and “rocket theme” he added also woocommerce.php):

    an example (one of rows interested)

    before:
    if(has_shortcode( $post->post_content, ‘mdocs_post_page’ ) || get_post_type($post) == ‘mdocs-posts’ || has_shortcode( $post->post_content, ‘mdocs’ ) || is_home() || is_plugin_active(‘so-widgets-bundle/so-widgets-bundle.php’) || is_plugin_active(‘wp_roksprocket/roksprocket.php’))

    after – added:is_plugin_active(‘woocommerce/woocommerce.php’ )

    if(has_shortcode( $post->post_content, ‘mdocs_post_page’ ) || get_post_type($post) == ‘mdocs-posts’ || has_shortcode( $post->post_content, ‘mdocs’ ) || is_home() || is_plugin_active(‘so-widgets-bundle/so-widgets-bundle.php’) || is_plugin_active(‘wp_roksprocket/roksprocket.php’ || is_plugin_active(‘woocommerce/woocommerce.php’ )))

    in this way it’s possible to integrate your shortcode properly also inside woocommerce pages with the correct formatting view. This solution have a great potentiality in a woocommerce site, because with woocommerce you can put only some predefined document in customer area, not everything you want and not woth folders as your plugin does….

    I modified my installed plugin manually, i hope my case study will be useful for you…

    thanks
    regards
    Paola

    Plugin Author bhaldie

    (@bhaldie)

    Okay now I got you… I will alter that line of code and add it to the next version of mdocs. Thanks for the report 🙂

    Thread Starter paolapisano

    (@paolapisano)

    Ok great! thank you too! 🙂
    I really love your plugin!

    Plugin Author bhaldie

    (@bhaldie)

    glad I could help 🙂

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

The topic ‘working with woocommerce’ is closed to new replies.