Hi Guys,
Page 62 of the Actinic V8 advance user guide have a edit for...
Going Straight to the Checkout after Adding to Cart
Taking customers straight to the checkout after adding product to the cart from a page with a shopping mode of 'Quantity on Product Page' with a single add to cart button per page.
The edit work great, my one simple question is what do I need to change to send the customer to the 'View cart page / conformation page' instead of the checkout page?
Here is the edit from the V8 advance guide...
1. Go to 'Design | Library | Variables'.
2. Right-click on the 'Section' group and select 'New Variable'.
3. Give it a name of 'GoDirectToCheckout'.
4. Give it a prompt of 'Take Customer Directly To Checkout?'.
5. Under 'Place Of Setting' select 'Section'.
6. De-select 'Allow <Use Parent> as an Option'.
7. Under 'Type' select 'True/False'.
8. Set 'Initial Value' and 'Top Level Value' both to 'False'.
9. Click 'OK' and close the library.
You are now ready to include the code in your design.
10. Set up a section with a 'Shopping Mode' of 'Single Add To Cart Button' where you want to take customers directly to the checkout after adding to cart.
11. Change to the 'Design' tab.
12. Click on the single add to cart button in the design.
In the layout code for the single 'add to cart' button, copy and paste the following code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22GoDirectToCheckout%22%20%2f%3e%20%3d%3d%20true">
<input type="hidden" name="ACTION" value="<actinic:variable name="CheckoutButton" />">
<input type="hidden" name="CHECKOUTURL" value="<actinic:variable name="OrderLinkText" />" target="_self">
</actinic:block>
Now for any section where you want to take your customers directly to the shopping cart after adding to cart, go to the 'Properties' tab of the section and set 'Take Customer Directly To The Checkout?' to 'True'.
Page 62 of the Actinic V8 advance user guide have a edit for...
Going Straight to the Checkout after Adding to Cart
Taking customers straight to the checkout after adding product to the cart from a page with a shopping mode of 'Quantity on Product Page' with a single add to cart button per page.
The edit work great, my one simple question is what do I need to change to send the customer to the 'View cart page / conformation page' instead of the checkout page?
Here is the edit from the V8 advance guide...
1. Go to 'Design | Library | Variables'.
2. Right-click on the 'Section' group and select 'New Variable'.
3. Give it a name of 'GoDirectToCheckout'.
4. Give it a prompt of 'Take Customer Directly To Checkout?'.
5. Under 'Place Of Setting' select 'Section'.
6. De-select 'Allow <Use Parent> as an Option'.
7. Under 'Type' select 'True/False'.
8. Set 'Initial Value' and 'Top Level Value' both to 'False'.
9. Click 'OK' and close the library.
You are now ready to include the code in your design.
10. Set up a section with a 'Shopping Mode' of 'Single Add To Cart Button' where you want to take customers directly to the checkout after adding to cart.
11. Change to the 'Design' tab.
12. Click on the single add to cart button in the design.
In the layout code for the single 'add to cart' button, copy and paste the following code:
<actinic:block if="%3cactinic%3avariable%20name%3d%22GoDirectToCheckout%22%20%2f%3e%20%3d%3d%20true">
<input type="hidden" name="ACTION" value="<actinic:variable name="CheckoutButton" />">
<input type="hidden" name="CHECKOUTURL" value="<actinic:variable name="OrderLinkText" />" target="_self">
</actinic:block>
Now for any section where you want to take your customers directly to the shopping cart after adding to cart, go to the 'Properties' tab of the section and set 'Take Customer Directly To The Checkout?' to 'True'.
Comment