#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    7
    Rep Power
    0

    Check for the product with the product id whether it exists on the PDP or not


    I need a script to check for the product with a product id on the webpage .

    Example : Online shopping different products will have different product id's need to check whether they exist or not if not error msg ...

    Pls help me!!!!!!!!! Can anyone help me plssssssssssss

  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,153
    Rep Power
    183
    You need to send a query sting to your page and set-up conditional validation (in the page, which receives the query string); then display content accordingly (based on this validation).
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    7
    Rep Power
    0
    Can u give me a sample... i am new to this please help me bro
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    7
    Rep Power
    0
    For example a product id is 653791 ..how ull write for this
  8. #5
  9. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,153
    Rep Power
    183
    Here is an example, I have provided recently (similar to what your wanting to do); check it how and see how it works and adapt it to work, for you, as needed.

    http://forums.devshed.com/showthread...75#post2873575

IMN logo majestic logo threadwatch logo seochat tools logo