X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Checkbox "I read privacy policy" (https://forum.x-cart.com/showthread.php?t=75440)

dagdag 06-16-2017 08:21 AM

Checkbox "I read privacy policy"
 
Hello, I want to add a checkbox in checkout page for privacy policy and also the link to the policy page, how can I do?

Thank you!

qualiteam 06-20-2017 02:27 AM

Re: Checkbox "I read privacy policy"
 
As far as I know there is no ready-made module for this, and you will have to create a custom module for the function.

Triple A Racing 06-20-2017 06:57 PM

Re: Checkbox "I read privacy policy"
 
Quote:

Originally Posted by dagdag
Hello, I want to add a checkbox in checkout page for privacy policy and also the link to the policy page, how can I do?

As per @qualiteam's answer, you can do this via your own custom module.

If it helps, we ourselves do this, but in a slightly different way than you have described (we wanted minimum clicks for customers) It's very similar really. Within our custom module, we use this file: /skins/*custom_module_name*/customer/checkout/steps/review/parts/place_order.agree_note.twig

Which overwrites the original file in the standard skin.

The modified content is this:

Code:

{##
 # Checkout : order review step : selected state : place order : agree note
 #
 # @ListChild (list="checkout.review.selected.placeOrder", weight="500")
 #}

<p class="agree-note">{{ t('Clicking the "Place order" button, means you accept our <a href="/privacy.html">Privacy</a> policy and our <a href="/terms-and-conditions.html">Terms & Conditions', {'URL': this.getTermsURL()})|raw }}</p>


The resultant visual presentation is quite clear and says all that's needed we think anyway.

Some may argue that only a specific tick box (as you have described) is 100% compliant, but we're happy as we are.

cflsystems 06-21-2017 04:57 AM

Re: Checkbox "I read privacy policy"
 
If you go with checkbox you will have to make sure the "place order" button is disabled until box is checked. Simply placing text to inform as mentioned above is easier and less interaction required by customer.

You just have to make sure the text is standing up and cannot be missed. I have seen sites use text color very similar to background in order to not bring much attention to it and customer easily miss it


All times are GMT -8. The time now is 07:22 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.