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="!/~/product/id=791003" /]

when the page renders a link to the product with aff ID such as!/~/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?


13 Responses to ECWID – Sorry, requested product is not available

  1. shawn.wyatt September 7, 2013 at 2:45 pm #

    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.

    • kento September 8, 2013 at 7:19 pm #

      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 September 6, 2013 at 2:28 am #

    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. kento May 20, 2013 at 11:56 am #

    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.


    Let’s use the link to the RIS product!/~/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, 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 May 10, 2013 at 2:02 pm #

    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 ๐Ÿ™‚

    • kento May 13, 2013 at 9:27 am #

      Hi Jeremy,

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

      • jeremyatlivetech May 17, 2013 at 9:52 am #

        Below is how I have attached the link

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

        1] Facebook shows 404 page with url

        2] Twitter shows in tweet box: Message link

        3] Google+ shows link to:

        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 ๐Ÿ™‚

        • kento May 20, 2013 at 10:18 am #

          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 May 3, 2013 at 6:28 pm #

    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…

    • kento May 10, 2013 at 10:26 am #

      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 May 3, 2013 at 9:43 am #

    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

    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 ๐Ÿ™‚

    • kento May 3, 2013 at 11:09 am #

      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.


      <a href="[affiliates_url][/affiliates_url]/#!/~/product/id=791003"><img src="" 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:

  7. kento May 2, 2013 at 9:37 am #

    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:!/~/product/id=791003

    The same applies when you have several parameters for Ecwid, for example:!/~/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:[affiliates_id]/#!/~/product/id=791003

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


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

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates ยท Contact ยท Jobs ยท Terms & Conditions ยท Privacy Policy ยท Documentation ยท Downloads ยท Useful Plugins ยท My Account