Announcement

Collapse
No announcement yet.

Add to cart from external link + Coupon code

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

    Add to cart from external link + Coupon code

    Hi

    I give customers the option to "add to cart" from anywhere with a quick link using the:
    "http://your.URL/cgi-bin/ca000001.pl?SID=3&PAGE=PRODUCT&Q_7=5" method (Article CD352) - and this seems to work fine.

    However, is there a way of adding to this code so that a pre-defined Coupon Code can be automatically recorded as well?

    Regards
    Graham Cross

    #2
    Apparently you can add a coupon by clicking:

    http://your.URL/cgi-bin/rs000001.pl?...COUPONCODEHERE

    where rs000001.pl is the referrer script. If you were to point the referrer to a special Actinic page set up so that when it lands it sets the tracking cookie and then does a redirect to

    http://your.URL/cgi-bin/ca000001.pl?...=PRODUCT&Q_7=5

    it would both add the coupon and add to cart.

    You would do the redirect perhaps by creating a product with no text, just a <meta http-equiv redirect tag in the product description, so it gets redirected on loading.

    A bit of a long winded fix but perhaps worth a try.
    http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
    http://www.dtbrownseeds.co.uk - More seeds and plants....
    http://www.mr-fothergills.co.uk - Well it used to be Actinic...

    Comment

    Working...
    X