AI Verified
Saves and shows acceptance of terms and conditions - Saves acceptance in the metadata of each order
Ingles - Saves and shows acceptance of terms and conditions - Saves acceptance in the metadata of each order Portugues - Salva e mostre a aceitação dos Termos e condições em cada Encomenda (Pedido)
PHP
Voted: 1 by 1 user(s)
The code was made to be used in Woocommerce, and is in Portuguese. Just translate and put the data in another language, respectively: ('Aceites') and ('Termos & Condições') Ingles - ('Accepts') and ('Terms & Conditions')
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: 6.1
Our AI bot has checked this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
09/04/2023
This snippet has the following status:
AI Verified
This snippet has been tested by our AI bot, see any comments below.
AI Bot Comments:
Potential vulnerability found : Cross Site Scripting
Found on line : 14
Code : echo('<p><strong>'.__('Termos & Condições').':</strong> ' . $terms_status . '</p>')
Vulnerable line : 14
Code : $terms_status = ( $terms == 'on' ? __('Aceites') : __('undefined') ));
Found 1 vulnerabilities
1
Please see some snippets below related to this snippet..
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Why should shipping costs be displayed when free shipping is available for a product? This WooCommerce snippet hides the shipping costs.
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
This snippet will allow you to move your product description below the loop of products.
WooCommerce
Pro Verified
Added: 1 year ago
Last Updated: 1 year ago
When the cost is > $100 then Free Shipping applies. Less than that has Flat Rate. The numbers are based on the order in the Woo > Settings > Shipping Page
These are some popular snippets from this users codevault..
WooCommerce
AI Verified
Added: 1 year ago
Last Updated: 1 year ago
Ingles - Saves and shows acceptance of terms and conditions - Saves acceptance in the metadata of each order Portugues - Salva e mostre a aceitação dos Termos e condições em cada Encomenda (Pedido)
Category
Snippet Status