Change the default for Product Notification to Unchecked


On the Checkout Success Page, your customers have the opportunity to sign up for Product Notifications.  By default the checkbox for each product is selected (ticked), however the customer will need to click the Update button for it to take effect.

Product Notification on Checkout Success Page

If, like me, you find that this can be confusing for your customers – as it appears as though the option is already ‘on’ and action would only be needed if a change is required – you can easily change the page so that by default the product notification checkbox is not selected (ticked).

  1. Open the tpl_checkout_success_default.php file located in the /includes/templates/template_default/templates/ directory.
  2. Find this line of code:
    <?php echo zen_draw_checkbox_field('notify[]', $notifications['products_id'], true, 'id="notify-' . $notifications['counter'] . '"') ;?>

    and modify it to:

    <?php echo zen_draw_checkbox_field('notify[]', $notifications['products_id'], false, 'id="notify-' . $notifications['counter'] . '"') ;?>
  3. Save the modified tpl_checkout_success_default.php file to your override folder.  This will be /includes/templates/CUSTOM/templates/ where CUSTOM represents the name of your current template folder.
     
   
     

More Zen Cart:

  1. Product Notifications – Zen Cart Sidebox
  2. Product Notification – Zen Cart Email Template
  3. How do I change the colour of the Product Title on the product information pages in the Simply Kerrin template?
  4. How do I change the colour of the Product Descriptions on the product information pages in the Simply Kerrin template?
  5. Remove or change “Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.” in Zen Cart
  1. No comments yet.
(will not be published)

Notify me of followup comments via e-mail. You can also subscribe without commenting.