WordPress.org

Ready to get started?Download WordPress

Forums

displaying yahoo merchant store tags on wordpress blogs (4 posts)

  1. TomJohnson
    Member
    Posted 7 years ago #

    I recently tried to display yahoo merchant store tags on a wordpress blog, and the store tags (which are supposed to show the products, as integrated with yahoo's online catalog), wouldn't show. does anyone know why this doesn't work? Or, better yet, is there a better solution for integrating shopping carts into wordpress?

  2. vkaryl
    Member
    Posted 7 years ago #

    First thing: are you trying to input the tags etc. using the rich text/wysiwyg/Tiny MCE editor? If so, all that code stuff gets stripped. If that's the problem, access your wp-admin/Users/your profile screen, scroll to the bottom, uncheck the box next to "Use the visual rich editor when writing".

    That should help, if that's the problem to begin with.

  3. contempoinc
    Member
    Posted 7 years ago #

    I was trying the same thing, using the code view it doesn't strip the tags it just doesn't display the information.

    It would be great if this could work. Anyone else have any ideas?

  4. jefferys
    Member
    Posted 7 years ago #

    It can work. But you have to work around the games Yahoo and WordPress play.

    To add an order button to a webpage, Yahoo's Storetag wizard tells you to use text like this

      '<form method="post" action="<!--#ystore_order id="youritemid" -->"><input type="submit" value="Order"></form>'

    The problem is here

      !--#ystore_order

    Yahoo's servers dynamically transform this when the page is actually served to a web viewer. You can tell this happens by actually going to any page where you already have placed a Store Tag and "View Source." Note how the Store Tag now looks something like this:

      <form method="post" action="http://order.store.yahoo.net/cgi-bin/wg-order?yourstoreid+youritemid" onsubmit="return checkData();"> <input type="submit" value="Order" /></form>

    THIS is actually what you want to insert into your WordPress blog. By doing so, you will get an Order Button that actually posts an item straight into the shopping cart.

    Now, I've not tried to troubleshoot things like items with options so who knows how that might work. But this should at least get you started until someone can solve this as a WordPress plugin.

    Best
    Jef

Topic Closed

This topic has been closed to new replies.

About this Topic