Server IP : 104.21.14.103 / Your IP : 18.188.43.246 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/home/giankuin/sieuthiweb.com.vn/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout/ |
Upload File : |
/** * External dependencies */ import { __ } from '@wordpress/i18n'; import { Icon, card } from '@woocommerce/icons'; import classnames from 'classnames'; import { registerFeaturePluginBlockType } from '@woocommerce/block-settings'; /** * Internal dependencies */ import edit from './edit'; import blockAttributes from './attributes'; import './editor.scss'; const settings = { title: __( 'Checkout', 'woocommerce' ), icon: { src: <Icon srcElement={ card } />, foreground: '#96588a', }, category: 'woocommerce', keywords: [ __( 'WooCommerce', 'woocommerce' ) ], description: __( 'Display a checkout form so your customers can submit orders.', 'woocommerce' ), supports: { align: [ 'wide', 'full' ], html: false, multiple: false, }, example: { attributes: { isPreview: true, }, }, attributes: blockAttributes, edit, /** * Save the props to post content. */ save( { attributes } ) { return ( <div className={ classnames( 'is-loading', attributes.className ) } /> ); }, }; registerFeaturePluginBlockType( 'woocommerce/checkout', settings );