Shopping Basket

 x 
Cart empty

Popular Items

Find Us Elsewhere

2Checkout.com is a worldwide leader in payment services
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Amazon WS Pluggin Qestions

Amazon WS Pluggin Qestions 1 year 9 months ago #42

  • bryantwest
  • bryantwest's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hi

I've just purchased the pluggin.
Hmmm, I'm trying to create a module that will use this pluggin to display a product on amazon.co.uk

Can this module do that?

If so could you please provide a sample of the syntax to do this?
I've tried the following;

{amazonWA:itemId= B0030G30E4;
associatesId= MYIDNAME;
showRating=yes;
showPrices=yes;
showRevs=yes;
showEditorial=yes;
county=co.uk;
searchIndex=All;
title=Ireland}

And that dosen't work...

Also is it possible to work with K2 articles?

Please help

Cheers

Mark
The administrator has disabled public write access.

Re: Amazon WS Pluggin Qestions 1 year 9 months ago #43

  • boggler
  • boggler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 348
  • Thank you received: 40
  • Karma: 9
The module would need to support content plugins, the easiest way to do this is to use the following:-
$text = JHTML::_('content.prepare', $text);

where $text is the output text of the module.

If you use the custom html module that Joomla includes then this already support content plugins (in Joomla 1.6), there is no need to create one specially. Just add the embedding code to the custom html.

Yes the plugin can work with K2 articles and any type of article that supports content plugins.


Looking at the embedding code you show, you have made a mistake in the country parameter, it should be

country=co.uk

also it should be amazonWS not amazonWA

If you use an itemId then you don't need a search index or title or keywords parameter. Aslo if you have set the country and your associates id in the plugin parameters you don't need to specify them again, you only need to do that if you want to override the default values you have set.

You can just use

{amazonWS:itemId= B0030G30E4}

I suggest starting with as few parameters as possible, then expanding them as required.

You also need to remember to enable the plugin.
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: boggler
Time to create page: 0.546 seconds