Un utente ha chiesto informazioni su WooCommerce di Wordpress

Metodo di pagamento dei termini di NetD

Un utente ha chiesto πŸ‘‡

Questo cliente ha B2C e B2B sul proprio sito. Funziona tutto bene, ma vogliamo che il metodo di pagamento per i clienti all’ingrosso rifletta i Termini netti 30.

Ho pensato di clonare il metodo di pagamento del checkout, ma non sono sicuro di dove sia quel codice.

Qualcuno sa come farlo o c’Γ¨ un plugin che lo renderebbe semplice?


### WordPress Environment ###

WordPress address (URL): https://wisedyes.com/wp
Site address (URL): https://wisedyes.com
WC Version: 4.1.1
REST API Version: βœ” 1.0.7
WC Blocks Version: βœ” 2.5.16
Action Scheduler Version: βœ” 3.1.6
WC Admin Version: βœ” 1.1.3
Log Directory Writable: βœ”
WP Version: 5.4.2
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: βœ”
Language: en_US
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 7.3.19
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.70.0
OpenSSL/1.1.1g

SUHOSIN Installed: –
MySQL Version: 5.5.5-10.1.45-MariaDB
Max Upload Size: 8 MB
Default Timezone is UTC: βœ”
fsockopen/cURL: βœ”
SoapClient: βœ”
DOMDocument: βœ”
GZip: βœ”
Multibyte String: βœ”
Remote Post: βœ”
Remote Get: βœ”

### Database ###

WC Database Version: 4.1.1
WC Database Prefix: wpsd_
Total Database Size: 15.31MB
Database Data Size: 10.55MB
Database Index Size: 4.76MB
wpsd_woocommerce_sessions: Data: 0.08MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_order_itemmeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
wpsd_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_actionscheduler_actions: Data: 1.46MB + Index: 0.50MB + Engine MyISAM
wpsd_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_actionscheduler_logs: Data: 0.73MB + Index: 0.85MB + Engine MyISAM
wpsd_bwg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_album_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_file_paths: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_image: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_image_comment: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_image_rate: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_image_tag: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_shortcode: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_bwg_theme: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
wpsd_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_comments: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_ngg_album: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_ngg_gallery: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_ngg_pictures: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
wpsd_options: Data: 0.91MB + Index: 0.07MB + Engine MyISAM
wpsd_postmeta: Data: 3.59MB + Index: 2.53MB + Engine MyISAM
wpsd_posts: Data: 0.49MB + Index: 0.14MB + Engine MyISAM
wpsd_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_term_relationships: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
wpsd_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_usermeta: Data: 0.03MB + Index: 0.02MB + Engine MyISAM
wpsd_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_wc_admin_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_admin_note_actions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wc_product_meta_lookup: Data: 0.06MB + Index: 0.07MB + Engine MyISAM
wpsd_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
wpsd_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wdr_order_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wdr_order_item_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wdr_rules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfblockediplog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfconfig: Data: 1.26MB + Index: 0.02MB + Engine MyISAM
wpsd_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wffilemods: Data: 0.98MB + Index: 0.21MB + Engine MyISAM
wpsd_wfhits: Data: 0.14MB + Index: 0.03MB + Engine MyISAM
wpsd_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfissues: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
wpsd_wfknownfilelist: Data: 0.49MB + Index: 0.06MB + Engine MyISAM
wpsd_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wflogins: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
wpsd_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wpsd_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wpsd_wfnotifications: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfreversecache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
wpsd_wfstatus: Data: 0.10MB + Index: 0.06MB + Engine MyISAM
wpsd_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM

### Post Type Counts ###

attachment: 225
atw_slider_post: 8
bwg_gallery: 1
bwg_share: 1
nav_menu_item: 15
ngg_gallery: 1
ngg_pictures: 56
page: 20
post: 2
product: 103
product_variation: 586
revision: 128
shop_coupon: 1
shop_order: 3
woo_discount: 2

### Security ###

Secure connection (HTTPS): βœ”
Hide errors from visitors: βœ”

### Active Plugins (19) ###

Classic Editor: by WordPress Contributors – 1.5
ELEX EasyPost WooCommerce Extension: by ELEX – 1.9.4
Facebook for WooCommerce: by Facebook – 1.11.4
Login Logout Menu: by WPBrigade – 1.1.0
LoginPress - Customizing the WordPress Login: by WPBrigade – 1.4.4
Photo Gallery: by Photo Gallery Team – 1.5.56
Product Quantity for WooCommerce: by WPWhale – 2.9
Rename wp-login.php: by Ella van Durpe – 2.6.0
Weaver Show Posts: by wpweaver – 1.5
Weaver Show Sliders: by wpweaver – 1.4.10
User Role Editor: by Vladimir Garagulya – 4.55.1
Velvet Blues Update URLs: by VelvetBlues.com – 3.2.9
Weaver Xtreme Theme Support: by wpweaver – 4.0.5
Widget Logic: by WPChef – 5.10.4
Woo Discount Rules PRO 2.0: by Flycart Technologies LLP – 1.9.8.3
Woo Discount Rules: by Flycart Technologies LLP – 1.9.9
WooCommerce: by Automattic – 4.1.1 (update to version 4.2.2 is available)
Wordfence Security: by Wordfence – 7.4.8
Related Products for WooCommerce: by WebToffee – 1.1.5 – Installed version not tested with active version of WooCommerce 4.1.1

### Inactive Plugins (0) ###

### Settings ###

API Enabled: –
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)

Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)

Connected to WooCommerce.com: –

### WC Pages ###

Shop base: #21 - /shop/
Cart: #22 - /cart/
Checkout: #23 - /checkout/
My account: #24 - /my-account/
Terms and conditions: ❌ Page not set

### Theme ###

Name: Weaver Xtreme Child
Version: 4.3.4
Author URL: //weavertheme.com/about
Child Theme: βœ”
Parent Theme Name: Weaver Xtreme
Parent Theme Version: 4.3.4
Parent Theme Author URL: //weavertheme.com/about
WooCommerce Support: βœ”

### Templates ###

Archive Template: Your theme has a woocommerce.php file
you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.

Overrides: weaver-xtreme-child/woocommerce/cart/mini-cart.php
weaver-xtreme-child/woocommerce/emails/customer-new-account.php
weaver-xtreme-child/woocommerce/emails/customer-reset-password.php
weaver-xtreme-child/woocommerce/single-product/meta.php
weaver-xtreme-child/woocommerce/single-product/price.php
weaver-xtreme-child/woocommerce/single-product/short-description.php

### Action Scheduler ###

Canceled: 1
Oldest: 2020-06-24 13:31:28 -0700
Newest: 2020-06-24 13:31:28 -0700

Complete: 3,912
Oldest: 2020-05-26 14:53:27 -0700
Newest: 2020-06-24 13:31:34 -0700

Pending: 1
Oldest: 2020-06-24 13:33:28 -0700
Newest: 2020-06-24 13:33:28 -0700

Supporto per plugin

(@riaanknoetze)

9 mesi, 2 settimane fa

Ciao,

Il codice del gateway di pagamento tramite assegno puΓ² essere trovato su woocommerce / include / gateway / check / class-wc-gateway-check.php

Per vedere il codice in azione, controlla il repository Github WithCommerce su https://github.com/woocommerce/woocommerce/blob/4d0306b9773a3d1639ca1afe876dd0cfef928ad8/includes/gateways/cheque/class-wc-gateway-cheque.php#L1

Was this helpful?

0 / 0

Lascia un commento 0

Your email address will not be published. Required fields are marked *