Can product's price be set dynamically? (Newbie question)

Discussion in 'Commission Junction' started by Typo Tat, Nov 21, 2009.

  1. #1
    I'm just starting out with CJ, and something is bothering me. I'm doing a bunch of pages, and I want to show product's price on the page.

    Is there a way to pull the price dynamically, so that it changes by itself if the company happens to update the price? Like a JavaScript or something? Or should I just update all my pages one by one?
     
    Typo Tat, Nov 21, 2009 IP
  2. markowe

    markowe Well-Known Member

    Messages:
    1,136
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    165
    #2
    Hmm, there are ways, but it sounds as if your pages are all static HTML. In that case, no, it's not really feasible. You need to have some basic dynamic aspect to your page, it should be in PHP say, and you need the product code, or some other identifier, available to your code as a variable so you can request the price from CJ's Web Service. If you are not a coder then it's easier just to use a ready solution like PopShops, which does it all for you.
     
    markowe, Nov 22, 2009 IP
  3. Typo Tat

    Typo Tat Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, I'll look into their Web Services :)
     
    Typo Tat, Nov 22, 2009 IP
  4. tvmatt

    tvmatt Peon

    Messages:
    1,076
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If the advertiser has a product catalog or API, you should be able to pull the numbers through the advertiser's API or through CJ's Web Services, as markowe mentioned above.
     
    tvmatt, Nov 23, 2009 IP
  5. markowe

    markowe Well-Known Member

    Messages:
    1,136
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    165
    #5
    Right, though as I say, if they are static pages then forget it. Though even then I suppose you could do it with some sort of JavaScript, but that would be a bit silly, unless it was some sort of widget you could reuse everywhere, but then you might as well use Popshops, like I say...
     
    markowe, Nov 24, 2009 IP