How to use Shortcode in Default value
-
Before updating the SHORTCODEs they work normally, but after the last update they no longer work, for example I have added a text field with the DEFAULT VALUE is the current date [date] but in the form the date does not appear, only the value [date] appears.
-
Hi,
May I ask you to send screenshots of the plugin settings? Please send me the address of the page on which this appears.
In addition, I would ask you to attach the status of the WooCommerce system. Read more information on where to get the system status.
Furthermore, please look at?WooCommerce → Status → Logs?— have there been any errors related to the reported plugin here? If so, please attach screenshots of the logs.
As soon as we complete all the necessary information from you, we will be happy to help you solve the problem.
Here is the screenshot, where we have put the SHORTCODE inside the TextBox, and it is supposed to show the IP of the User
https://postimg.cc/wR2JhRw0
Now, when we enter the CHECKOUT page in the Textbox it does not show the ip, it only shows the value [user_ip]
https://postimg.cc/BjKTzbbQ
And this is the WooCommerce Report (We have been working as is, and the shortcode was working, but with your last update it stopped working)
======================================================================================
WordPress Environment
WordPress address (URL): https://internacional.psicologiaenvivo.com
Site address (URL): https://internacional.psicologiaenvivo.com
WC Version: 9.1.2
Legacy REST API Package Version: El plugin Legacy REST API no está instalado en este sitio.
Action Scheduler Version: ? 3.7.4
Log Directory Writable: ?
WP Version: 6.6
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: es_ES
External object cache: – Server Environment
Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 64 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 8.7.1
OpenSSL/1.1.1w
SUHOSIN Installed: –
MySQL Version: 5.5.5-10.6.18-MariaDB-cll-lve
Max Upload Size: 64 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database
WC Database Version: 9.1.2
WC Database Prefix: wp_
Tama?o total de la base de datos: 5.97MB
Tama?o de los datos de la base de datos: 5.44MB
Tama?o del índice de la base de datos: 0.53MB
wp_woocommerce_sessions: Datos: 0.01MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_api_keys: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_order_itemmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_woocommerce_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_actionscheduler_actions: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM
wp_actionscheduler_claims: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_actionscheduler_groups: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_actionscheduler_logs: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_bp_activity: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_activity_meta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_invitations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_notifications: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_notifications_meta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_optouts: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_xprofile_data: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_xprofile_fields: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_bp_xprofile_groups: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_bp_xprofile_meta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_commentmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_comments: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM
wp_e_events: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_ju_queue: Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_links: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_options: Datos: 4.00MB + índice: 0.08MB + Motor MyISAM
wp_pmpro_discount_codes: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_discount_codes_levels: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_discount_codes_uses: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_groups: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_memberships_categories: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_memberships_pages: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_memberships_users: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_membership_levelmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_membership_levels: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_membership_levels_groups: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_membership_ordermeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_membership_orders: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_subscriptionmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_pmpro_subscriptions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_postmeta: Datos: 0.75MB + índice: 0.10MB + Motor MyISAM
wp_posts: Datos: 0.19MB + índice: 0.03MB + Motor MyISAM
wp_revslider_css: Datos: 0.09MB + índice: 0.01MB + Motor MyISAM
wp_revslider_layer_animations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_revslider_navigations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_revslider_sliders: Datos: 0.01MB + índice: 0.00MB + Motor MyISAM
wp_revslider_sliders7: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_revslider_slides: Datos: 0.01MB + índice: 0.00MB + Motor MyISAM
wp_revslider_slides7: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_revslider_static_slides: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_signups: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_snippets: Datos: 0.13MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_curriculum_materials: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_curriculum_sections: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_order_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_answers: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_cart: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_chat: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_conversation: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_courses: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_lessons: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_quizzes: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_quizzes_times: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_searches: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_stm_lms_user_searches_stats: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_termmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_terms: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_term_relationships: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_term_taxonomy: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM
wp_usermeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_users: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_admin_notes: Datos: 0.02MB + índice: 0.00MB + Motor MyISAM
wp_wc_admin_note_actions: Datos: 0.02MB + índice: 0.01MB + Motor MyISAM
wp_wc_category_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_customer_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_download_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_orders: Datos: 0.00MB + índice: 0.02MB + Motor MyISAM
wp_wc_orders_meta: Datos: 0.02MB + índice: 0.03MB + Motor MyISAM
wp_wc_order_addresses: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_order_operational_data: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_order_product_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_order_stats: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_product_attributes_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_product_download_directories: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_product_meta_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_rate_limits: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_reserved_stock: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wc_tax_rate_classes: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM
wp_wc_webhooks: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM
wp_wpcode_revisions: Datos: 0.14MB + índice: 0.00MB + Motor MyISAM Post Type Counts
attachment: 23
bp-email: 21
buddypress: 2
elementor_library: 4
nav_menu_item: 8
page: 27
post: 5
product: 14
revision: 12
shop_order_placehold: 7
sidebar: 1
stm-courses: 10
stm-lessons: 4
stm-questions: 5
stm-quizzes: 1
testimonial: 2
wp_navigation: 1
wpcf7_contact_form: 6
wpcode: 3 Security
Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (26)
Akismet Anti-spam: Spam Protection: por Automattic - Equipo Anti-spam – 5.3.3
Autocomplete WooCommerce Orders: por QuadLayers – 3.3.3
Breadcrumb NavXT: por John Havlik | Traducción: Karin Sequén – 7.3.1
Code Snippets Pro (Premium): por Code Snippets Pro – 3.6.5
Code Snippets: por Code Snippets Pro – 3.6.5.1
Contact Form 7 - Dynamic Text Extension: por AuRise Creative
SevenSpark – 4.4.2
Contact Form 7: por Takayuki Miyoshi – 5.9.7
Disable Gutenberg: por Jeff Starr – 3.1.2
Elementor: por Elementor.com – 3.23.1
Envato Market: por Envato – 2.0.11
Flexible Checkout Fields PRO: por WP Desk – 4.0.6
Flexible Checkout Fields: por WP Desk – 4.1.10
Elementor Header & Footer Builder: por Brainstorm Force
Nikhil Chavan – 1.6.37
Hello Dolly: por Matt Mullenweg – 1.7.2
Masterstudy Elementor Widgets: por Stylemix – 1.2.3
MasterStudy LMS – Cursos en Línea, eLearning PRO: por StylemixThemes – 4.4.23
MasterStudy LMS WordPress Plugin – for Online Courses and Education: por StylemixThemes – 3.3.29
One User Avatar: por One Designs – 2.4.0
Openpay Cards Plugin: por Openpay – 2.9.2
Really Simple SSL: por Really Simple Plugins – 8.1.5
Slider Revolution: por ThemePunch – 6.7.9
STM Configurations: por StylemixThemes – 4.6.15
WooCommerce PayPal Payments: por WooCommerce – 2.8.1
WooCommerce: por Automattic – 9.1.2
WP Media folder: por Joomunited – 5.8.7
Sequential Order Numbers for WooCommerce: por WebToffee – 1.6.5 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)
stm_lms_product (stm_lms_product)
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: –
Enforce Approved Product Download Directories: ?
HPOS feature enabled: ?
Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
HPOS data sync enabled: – Logging
Enabled: ?
Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
Retention period: 30 días
Level threshold: –
Log directory size: 7 KB WC Pages
Base de la tienda: #49775 - /tienda/
Carrito: #49776 - /carrito/ - Contiene el shortcode [woocommerce_cart]
Finalizar compra: #49777 - /pago/ - Contiene el shortcode [woocommerce_checkout]
Mi cuenta: #4972 - /mi-cuenta/
Términos y condiciones: ? Página sin definir Theme
Name: MasterStudy
Version: 4.8.66
Author URL: https://stylemixthemes.com/
Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente
te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo
WooCommerce Support: ? Templates
Overrides: masterstudy/woocommerce/archive-product.php
masterstudy/woocommerce/cart/cart-shipping.php
masterstudy/woocommerce/cart/cart-totals.php
masterstudy/woocommerce/cart/cart.php
masterstudy/woocommerce/cart/mini-cart.php
masterstudy/woocommerce/checkout/form-billing.php
masterstudy/woocommerce/checkout/form-checkout.php
masterstudy/woocommerce/checkout/form-coupon.php
masterstudy/woocommerce/checkout/form-pay.php
masterstudy/woocommerce/checkout/payment.php
masterstudy/woocommerce/checkout/review-order.php
masterstudy/woocommerce/checkout/thankyou.php
masterstudy/woocommerce/content-product.php
masterstudy/woocommerce/content-single-product.php
masterstudy/woocommerce/global/breadcrumb.php
masterstudy/woocommerce/global/form-login.php
masterstudy/woocommerce/global/quantity-input.php
masterstudy/woocommerce/global/wrapper-end.php
masterstudy/woocommerce/global/wrapper-start.php
masterstudy/woocommerce/loop/loop-start.php
masterstudy/woocommerce/loop/orderby.php
masterstudy/woocommerce/loop/pagination.php
masterstudy/woocommerce/myaccount/form-login.php
masterstudy/woocommerce/myaccount/form-lost-password.php
masterstudy/woocommerce/myaccount/my-address.php
masterstudy/woocommerce/myaccount/my-downloads.php
masterstudy/woocommerce/myaccount/my-orders.php
masterstudy/woocommerce/notices/error.php
masterstudy/woocommerce/notices/notice.php
masterstudy/woocommerce/notices/success.php
masterstudy/woocommerce/order/tracking.php
masterstudy/woocommerce/product-searchform.php
masterstudy/woocommerce/single-product/add-to-cart/simple.php
masterstudy/woocommerce/single-product/price.php
masterstudy/woocommerce/single-product/product-image.php
masterstudy/woocommerce/single-product/rating.php
masterstudy/woocommerce/single-product/related.php
masterstudy/woocommerce/single-product/review.php
masterstudy/woocommerce/single-product/title.php
masterstudy/woocommerce/single-product/up-sells.php
masterstudy/woocommerce/single-product-reviews.php
masterstudy/woocommerce/single-product.php
masterstudy/woocommerce/content-product_cat.php WooCommerce PayPal Payments
Onboarded: ?
Shop country code: PE
WooCommerce currency supported: ?
Advanced Card Processing available in country: –
Pay Later messaging available in country: –
Webhook status: –
PayPal Vault enabled: –
ACDC Vault enabled: –
Logging enabled: –
Reference Transactions: ?
Used PayPal Checkout plugin: –
Subscriptions Mode: Disabled Admin
Enabled Features: activity-panels
analytics
product-block-editor
coupons
core-profiler
customize-store
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
product-custom-fields
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page
launch-your-store
Disabled Features: experimental-blocks
minified-js
pattern-toolkit-full-composability
product-pre-publish-modal
printful
settings
async-product-editor-category-field
product-editor-template-system
Daily Cron: ? Next scheduled: 2024-07-23 04:22:41 -05:00
Options: ?
Notes: 60
Onboarding: - Action Scheduler
Completo: 21
Oldest: 2024-07-20 23:22:49 -0500
Newest: 2024-07-21 23:23:42 -0500
Fallida: 4
Oldest: 2024-07-20 23:24:35 -0500
Newest: 2024-07-21 22:10:12 -0500
Pendiente: 1
Oldest: 2024-07-22 23:23:42 -0500
Newest: 2024-07-22 23:23:42 -0500 Status report information
Generated at: 2024-07-22 09:20:40 -05:00
`Hi,
I’d like to clarify — may I ask with which exact version of the plugin this worked in your shop? According to our information, we do not have a do_shortcode function to make such a thing work.
Please reach out to me and I will consult this issue again with the developer responsible for the FCF plugin.
Yes, of course
Flexible Checkout Fields 4.1.3
Flexible Checkout Fields PRO 4.0.5
WooCommerce 8.7.0With these versions, it does show the Shortcode value, but in later versions (we have updated everything) it does not work.
Or maybe you have an alternative, what we want is to insert the date and time (eg. 15:05:05 12/07/2024) and the ip of the purchased (eg. 192.168.100.20). We did it by shortcode, but maybe you have an alternative?Hi,
We ran tests on the version what you sent and unfortunately it still doesn’t work.
Test performed: https://monosnap.com/file/6y8WKF14mCHgdTV1hIDtgzVQzoGfWN
I want to ask if you didn’t implement maybe a custom code that added such functionality. Because in the original plugin versions, it doesn’t and shouldn’t work.
Hi,
I haven’t heard from you in a while, so I’m marking this thread as resolved. Please don’t hesitate to open a new one if you encounter other issues while using our plugin.
Have a fantastic day,
- You must be logged in to reply to this topic.