I am trying to link from outside Actinic (ie. from an email newsletter or separate website) to a product in my store - but I want to link so that the product and the right component/attribute choice is selected.
I can link to a product simply with:
xxhttp://store.mydomain.com/cgi-bin/ss000001.pl?PRODREF=34&NOLOGIN=1&ACTINIC_REFERRER=http://store.mydomain.com/acatalog/
(xx added to prevent url being shown as active link)
However, this product has 3 choices associated with it - each already set up with a different price (delivery by download, CD, and memory card).
If I use:
xxhttp://store.mydomain.com/cgi-bin/ss000001.pl?PRODREF=34&COMPONENTID=0&v_34_2=on&v_34_1=3&NOLOGIN=1&ACTINIC_REFERRER=http://store.mydomain.com/acatalog/
then it still displays the product with the default option (download) selected.
This is the code snippet being used to generate the product page that I took the parameter names from:
<input type="hidden" name="v_34_2" value="on" /> Delivery<br><Actinic:PRICE_EXPLANATION PROD_REF="34" COMPONENTID=0></Actinic:PRICE_EXPLANATION><br>
<span class="text_options">Version</span>
<br /><select name="v_34_1" class="form_input_general">
<option value="1"> Download (470MB zip) £0.00 </option>
<option value="2"> CD £0.00 </option>
<option value="4"> 1GB MicroSD Memory Card £8.00 </option>
<option value="3"> 1GB MiniSD Memory Card £8.00 </option>
<option value="5"> 4GB MicroSDHC Memory Card £34.99 </option>
I can put the precise option into the shopping cart okay using this type of URL - but it doesn't seem to work to set the right options to be shown on the store product pages.
I suspect I am overlooking something obvious, as it is pretty common to want to link into a store from an email newsletter - but...
I can link to a product simply with:
xxhttp://store.mydomain.com/cgi-bin/ss000001.pl?PRODREF=34&NOLOGIN=1&ACTINIC_REFERRER=http://store.mydomain.com/acatalog/
(xx added to prevent url being shown as active link)
However, this product has 3 choices associated with it - each already set up with a different price (delivery by download, CD, and memory card).
If I use:
xxhttp://store.mydomain.com/cgi-bin/ss000001.pl?PRODREF=34&COMPONENTID=0&v_34_2=on&v_34_1=3&NOLOGIN=1&ACTINIC_REFERRER=http://store.mydomain.com/acatalog/
then it still displays the product with the default option (download) selected.
This is the code snippet being used to generate the product page that I took the parameter names from:
<input type="hidden" name="v_34_2" value="on" /> Delivery<br><Actinic:PRICE_EXPLANATION PROD_REF="34" COMPONENTID=0></Actinic:PRICE_EXPLANATION><br>
<span class="text_options">Version</span>
<br /><select name="v_34_1" class="form_input_general">
<option value="1"> Download (470MB zip) £0.00 </option>
<option value="2"> CD £0.00 </option>
<option value="4"> 1GB MicroSD Memory Card £8.00 </option>
<option value="3"> 1GB MiniSD Memory Card £8.00 </option>
<option value="5"> 4GB MicroSDHC Memory Card £34.99 </option>
I can put the precise option into the shopping cart okay using this type of URL - but it doesn't seem to work to set the right options to be shown on the store product pages.
I suspect I am overlooking something obvious, as it is pretty common to want to link into a store from an email newsletter - but...
Comment