WordPress.org

Ready to get started?Download WordPress

Forums

WordPress WANT Button
Is there a template tag/ (4 posts)

  1. kevin heath
    Member
    Posted 1 year ago #

    Hi

    The Want button is not compatible with wp ecommerce product pages. It does not get inserted automatically and there's no option to select the button on the edit page.

    I'm not sure if it's a wp ecommerce specific issue or a custom post type issue in general.

    Can you offer a tmeplate tag for people to use so the button can be hardcoded into themes please.

    Thanks
    Kevin

    http://wordpress.org/extend/plugins/want-button/

  2. gjagasia
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Kevin,

    Thanks for the heads up, I'll be working on compatibility for this soon.

    -Gandhi

  3. gjagasia
    Member
    Plugin Author

    Posted 1 year ago #

    Kevin,

    I'm working on a template tag, but it sounds like our standard (non-wordpress) implementation would work well for you. Check out http://www.wantbutton.com for more details on this:

    <script>
    (function() {
            var _w = document.createElement("script"); _w.type = "text/javascript"; _w.async = true;
            _w.src = "http://button.wanttt.com/button/script/";
            var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(_w, s);
    })();
    </script>
    <a href="http://wanttt.com/want/initial_popup/"
    data-merchant_name="ESCAPED_MERCHANT_NAME"
    data-title="ESCAPED_PRODUCT_NAME"
    data-price="PRODUCT_PRICE"
    data-image_url="HIGH_RESOLUTION_PRODUCT_IMAGE_URL"
    data-count="true"
    data-style="wb1" data-page_source="PRODUCT" class="wantButton"></a>

    If you have the plugin installed and activated you should be able to leave out the script, and if you have a standardized merchant template the included information should be easy to set up.

    Let me know at gjagasia@wanttt.com if you have any questions. Alternatively, I should be able to get the template tag out there relatively soon.

  4. kevin heath
    Member
    Posted 1 year ago #

    Hi Ghandi

    thanks for that. I'll take a look and give it a try as soon as I have some time spare.

    Kevin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.