Announcement

Collapse
No announcement yet.

Discount code URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Discount code URL

    Hi community,
    I'm trying to adapt the discount code url that is generated when you 'Copy To Clipboard' after creating your discount within Sellerdeck.

    I can adapt it so that the landing page is any section or product within my catalogue but I can't work out the syntax to make the landing page my homepage.

    This is the code generated for a currently active discount:
    HTML Code:
    http://www.theprettydresscompany.com/cgi-bin/rs000002.pl?DESTINATION=index%2ehtml&BASEURL=http%3a%2f%2fwww%2etheprettydresscompany%2ecom%2ffashion%2f&COUPON=TPDCBEST
    Which takes me to an uninspiring page, so I can adapt this to
    HTML Code:
    http://www.theprettydresscompany.com/cgi-bin/rs000002.pl?DESTINATION=Bestsellers%2ehtml&BASEURL=http%3a%2f%2fwww%2etheprettydresscompany%2ecom%2ffashion%2f&COUPON=TPDCBEST
    Which works well and takes me to a relevant page for this discount - however if I try to adapt it to take me to the homepage (which is more desireable for some codes; especially with Black Friday coming up) like so:
    HTML Code:
    http://www.theprettydresscompany.com/cgi-bin/rs000002.pl?DESTINATION=BASEURL=http%3a%2f%2fwww%2etheprettydresscompany%2ecom%2f&COUPON=TPDCBEST
    I get a script error.

    Any ideas?

    Thanks in advance.

    Mick
    The Pretty Dress Company

    #2
    Can anybody help with this?

    Thanks

    Mick
    The Pretty Dress Company

    Comment


      #3
      I'm not sure why I spent time on this but it looks you have to give the destination a page name. i.e.

      http://www.theprettydresscompany.com...OUPON=TPDCBEST

      Although even that takes you the home page within your catalog folder so it looks as if the scripts don't like you accessing outside of that.
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Thanks Mike, yeah, I got that far myself; I can link to anypage that has a name but not the homepage itself.
        The Pretty Dress Company

        Comment


          #5
          Ha. Sorted it with a ../

          http://www.theprettydresscompany.com...OUPON=TPDCBEST
          -----------------------------------------

          First Tackle - Fly Fishing and Game Angling

          -----------------------------------------

          Comment

          Working...
          X