ECWID – Sorry, requested product is not available

Hi, the plugin looks great ๐Ÿ™‚
We’re using it with ECWID and have an important issue

We’re trying to add the following shortcode
[affiliates_affiliate_link url="http://www.example.com/shop/#!/~/product/id=791003" /]

when the page renders a link to the product with aff ID such as
http://www.example.com/shop/#!/~/product/id=791003?affiliates=14

The page with ecwid shop says Sorry, the requested product is not available however, if we remove the affiliate ID from the url – the product shows fine on the same page.

We’re using clean permalinks under WordPress settings and also tried using /affiliates/14 – but result is the same.

It also happens with the image banner embed codes for each product.

What could be an issue?

TIA


Comments

13 responses to “ECWID – Sorry, requested product is not available”

  1. shawn.wyatt Avatar
    shawn.wyatt

    Nevermind, I think we got it. I thought I had my part of the plugin not configured/setup correctly, but it’s fine. I told the affiliate to use the code incorrectly. As stated above, it needs to go after the “/store” section of the url to work.

    1. Many thanks for the update on that, I was just going to respond to your comment but it’s good to see you have it working already.

  2. shawn.wyatt Avatar
    shawn.wyatt

    I’m actually having a similar issue. We are using WordPress with Ecwid and the Affiliates Pro plugin. We generate a xml feed of our 150+ products in our store and give that feed to several websites that list competing online retailers. The feed contains all the attributes of each product, including price, availability, etc. and of course the product url. A customer searches/views the affiliate website and clicks a product url which then leads them to our Ecwid store and directly to the product. I created an affiliate in the Manage Affiliate section, which gave us the “URL Parameter: ?affiliates=2” information and I gave to the webmaster at the affiliate website. He set up his link outs to auto add the “?affiliates=2” code to the end of the product url leading to our Ecwid store. Of course, as noted above, this doesn’t seem to work and we get a “Sorry, requested product is not available” notice. How can I correct this issue?

  3. Ok, this needs another approach. Sharing these links doesn’t work, Facebook redirects and strips off the parameters needed by the embedded cart, similar with Google+ and Twitter.

    Actually there’s a much easier way to approach this. I wonder why I haven’t thought of it earlier:

    Simply set up a page for each product on the site and embed the product’s HTML Code from your Ecwid dashboard on the page. Use affiliate links and shortcodes the normal way and forget about all of the above.

    Example:

    Let’s use the link to the RIS product http://www.livetechit.com/shop/#!/~/product/id=791003 :

    Create a new page on your site and embed the code block from the HTML Code tab of the product in your Ecwid dashboard. Assuming the URL of the new page is http://www.livetechit.com/ris, the normal affiliate shortcodes will work without having to compose the links or banners ‘manually’.

    Having specific pages for your products should also be better in terms of search engine visibility.

  4. jeremyatlivetech Avatar
    jeremyatlivetech

    Okay, sounds great. At least I have a handful of clear information on ECWID affiliate URLs.

    Now… I am trying to also put up these custom affiliate URLs which those people can share on their respective Social Media accounts to increase sales.

    The problem is – the link is rendering well inside the code, however – I am unable to see these link pages are being acutely scraped by Facebook or Google+

    Are there any pointers with you to have affiliate links ready for Social sharing? Is there something that needs to be taken care of?

    Thanks again ๐Ÿ™‚

    1. Hi Jeremy,

      The affiliate links normally work fine when shared, is there a particular link you’d like to have checked?

      1. jeremyatlivetech Avatar
        jeremyatlivetech

        Hi
        Below is how I have attached the link

        http://pastebin.com/R8bbmqvm

        Now, the links are rendering very well if we hover; but when clicked:

        1] Facebook shows 404 page with url https://www.facebook.com/~/product/id=791003

        2] Twitter shows in tweet box: Message link http://www.domain.com/shop?affiliates=14/

        3] Google+ shows link to: http://www.domain.com/shop?affiliates=14/

        Which means, the link when shared, is getting redirected to the main shop page. But, works fine when clicked on a banner.

        Whats missing here?

        TIA ๐Ÿ™‚

        1. I was trying to have a look at the affiliate area but am getting “WordPress Login Temporarily Disabled”, will try again later on.

  5. jeremyatlivetech Avatar
    jeremyatlivetech

    Alrighto… Thanks ๐Ÿ™‚

    I did manage to render the embed code, but then its not as handy as using the real shortcodes.

    Also, what are the other shortcodes that wont work with ECWID?

    And, why is this info missing from the plugin documentation? or its me who missed it?

    Thanks a ton again…

    1. Basically they all work with Ecwid except when you link to a product like in this case, it’s due to how the link is handled … you’re the first to mention the problem, probably that’s why there’s not much more info about it … yet ๐Ÿ˜‰

  6. jeremyatlivetech Avatar
    jeremyatlivetech

    Okay, I got it – but only partially.

    The shortcodes for Embedding Link dont work with the format you gave above. The same is the case with Banner shortcodes.

    Even using `/shop?affiliates=affiliates_id/` or `/shop?affiliates=[affiliates_id]/ ` does not work as desired.

    The below shortcode works fine to get a link but it does not work when combined with Banner code
    [affiliates_url]http://www.example.com/shop[/affiliates_url]/#!/~/product/id=791003

    Could you put some more light on using these Link and Banners shortocdes to suite the ECWID links as you suggested in earlier reply.

    Thanks ๐Ÿ™‚

    1. The problem here is that the [affiliates_affiliate_link] shortcode will not work with the special product URLs that Ecwid builds, because it appends the affiliate id to the URL and doesn’t ‘know’ how to place it in between as would be required. So for links to products, we have to build the banner ourselves.

      Example:

      <a href="[affiliates_url]http://www.example.com/shop[/affiliates_url]/#!/~/product/id=791003"><img src="http://www.example.com/banner-1.png" width="200" height="200"></a>

      This would render the affiliate’s banner linked to the product page in the shop. To show the affiliate the code to use you would need to use it with HTML entities as shown here: http://pastebin.com/h1Mr4h3F

  7. Hi there, glad to hear you like it ๐Ÿ™‚

    To make the URLs work you need to place the affiliate parameter before the product information, in your example this would be:

    http://www.example.com/shop?affiliates=14/#!/~/product/id=791003

    The same applies when you have several parameters for Ecwid, for example:

    http://www.example.com/store?affiliates=123/#!/~/product/category=2712180&id=11814517

    When you link to a product or category for Ecwid it’s an exception to the normal case where the affiliate id can just be appended to the URL.

    As you won’t be able to use the ‘normal’ way the shortcodes build the affiliate URLs, you need an alternative way using the [affiliates_id] shortcode. For example:

    http://www.example.com/shop?affiliates=[affiliates_id]/#!/~/product/id=791003

    You could also use the [affiliates_url] shortcode in this way:

    [affiliates_url]http://www.example.com/store[/affiliates_url]/#!/~/product/category=2712180&id=11814517

    ... so the part that identifies the product for the Ecwid widget is displayed following the base affiliate URL to the store page.

Share