Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Checkbox "I read privacy policy"

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 06-16-2017, 08:21 AM
  dagdag's Avatar 
dagdag dagdag is offline
 

Advanced Member
  
Join Date: Sep 2014
Location: Volgograd
Posts: 81
 

Default 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!
__________________
my wife's shop
Reply With Quote
  #2  
Old 06-20-2017, 02:27 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 06-20-2017, 06:57 PM
 
Triple A Racing Triple A Racing is offline
 

X-Wizard
  
Join Date: Jul 2008
Location: Manchester UK
Posts: 1,028
 

Default 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.
__________________
Dev Store & Live Store XC Business 5.4.1.35
Server; Ubuntu 22.04.2 LTS (HWE 6.2.0.26.26 Kernel)) / Plesk Obsidian
Nginx 1.20.4 / Apache 2.4.52 (Ubuntu Backported) / MariaDB 10.11.4 / PHP 7.4.33
Reply With Quote
  #4  
Old 06-21-2017, 04:57 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
dagdag (06-25-2017)
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:11 AM.

   

 
X-Cart forums © 2001-2020