Viscott
04-01-06, 08:33 PM
If you are using Viking Coders Other Page Templates and are passing the purchasers email address on the OINF screen as you know you need this code on your OSEL main template at the top.
%OUI%
%IF(tolower(g.wumpsubscribe2checkbox) EQ 'on')%
%SET(g.sub2directory|%VAR(g.MerchantPath)%00000001/subscribe2/)%
%SET(g.sub2module|%VAR(g.Module_Root)%modules/system/subscribe2_OpenUI4c.mvc)%
%DB(OPEN|subsoui|%VAR(g.sub2directory)%oui.dbf)%
%DOFUNC(l.ok|g.sub2module|fullysubscribe(basketlis t.d.bill_fname $ ' ' $ basketlist.d.bill_lname, basketlist.d.bill_email))% %DB(CLOSE|subsoui)%
%IFEND%
I discovered that if you are using the built-in upsell feature of Merchant and have replaced the two up-sell templates (Upsell: Single Product and Upsell: multiple) with OPT Templates you need to place the above code at the top of each of the main templates to have the email pass to Subscribe2.
If you don't add the code when an up-sell is offered the email will not get passed to subscribe2.
%OUI%
%IF(tolower(g.wumpsubscribe2checkbox) EQ 'on')%
%SET(g.sub2directory|%VAR(g.MerchantPath)%00000001/subscribe2/)%
%SET(g.sub2module|%VAR(g.Module_Root)%modules/system/subscribe2_OpenUI4c.mvc)%
%DB(OPEN|subsoui|%VAR(g.sub2directory)%oui.dbf)%
%DOFUNC(l.ok|g.sub2module|fullysubscribe(basketlis t.d.bill_fname $ ' ' $ basketlist.d.bill_lname, basketlist.d.bill_email))% %DB(CLOSE|subsoui)%
%IFEND%
I discovered that if you are using the built-in upsell feature of Merchant and have replaced the two up-sell templates (Upsell: Single Product and Upsell: multiple) with OPT Templates you need to place the above code at the top of each of the main templates to have the email pass to Subscribe2.
If you don't add the code when an up-sell is offered the email will not get passed to subscribe2.