No announcement yet.

How can I have different text on the 'Next' button checkout page 2?

  • Filter
  • Time
  • Show
Clear All
new posts

    How can I have different text on the 'Next' button checkout page 2?

    You can do this by doing the following:

    * on the 'Design' tab, change the 'Select Page Type' drop-down to 'Checkout Page 2'

    * scroll down the 'preview pane' until you see the 'Next' button and click on it

    * this should display the 'Checkout Next Button' layout in the 'code' window

    * replace the contents with:

    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%20%21%3d%20%22Checkout%20Page%202%22">
    <input type="submit" name="ACTION" value="<actinic:variable name="NextButton" />" />
    <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Checkout%20Page%202%22">
    <input type="submit" name="ACTION_NEXT" value="Place Order" />

    * click 'Apply'

    * then edit the '' file located in the site folder (take a backup first) with a text editor such as notepad

    * locate:

    # read the catalog blobs

    * you should see:

    @Response = ReadAndParseBlobs(); # read the catalog blobs
    ($Status, $Message) = @Response; # parse the response
    if ($Status != $::SUCCESS)
    ACTINIC::ReportError($Message, ACTINIC::GetPath());

    * add the following directly after the above code:

    if(!defined $::g_InputHash{"ACTION"})
    if(defined $::g_InputHash{"ACTION_NEXT"})
    $::g_InputHash{"ACTION"} = ACTINIC::GetPhrase(-1, 502);

    * save and close the file

    * update your site.

    SellerDeck is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.