zhuzh1
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Prices are displayed with a trailing “N/A”Hari S. of Woocommerce advised me the following. That’s exactly the problem.
“That’s interesting. Can you visit WooCommerce > Settings > Tax and go to the Price
Display Suffix field to see what options you see there? Is it explicitly written N/A
there, by any chance?https://cld.wthms.co/5iafK0
Full Size: https://cld.wthms.co/5iafK0If so, can you leave the field blank, save changes, and try again?”
Forum: Plugins
In reply to: [WooCommerce] Prices are displayed with a trailing “N/A”hi, @devjunkie
Thanks for your response to my questoin.
The snippet does NOT seem to work.
It also locks my console whenever I ran it.
Any further advice?
Forum: Plugins
In reply to: [WooCommerce] Best ways to customize WooJust to confirm, do you mean to copy
~/wp-content/plugins/woocommerce/templates/emails/email-order-details.php or
~/wp-content/plugins/woocommerce-product-vendors/templates/emails/email-order-details.php
to
~/wp-content/storefront-child/woocommerce/templates/emails/email-order-details.php or
~/wp-content/storefront-child/woocommerce-product-vendors/templates/emails/email-order-details.phpthen modify it?
thanks
Forum: Plugins
In reply to: [WooCommerce] Prices are displayed with a trailing “N/A”Hi @wpriders
I tried all four positions, “N/A” is still there.
I also created a few new products, making sure nothing extra was added to product defn/desc. Unfortunately, “n/a” showed up for new products.
Forum: Plugins
In reply to: [WooCommerce] Best ways to customize WooHi @johndcoy,
In the above, I was specifically referring modifications in email_order_details.php both under woocommerce and under woocommerce-product-vendors plugins: I felt that Code Snippets is probably not applicable, isn’t it?
Thanks
JohnZ
Forum: Plugins
In reply to: [WooCommerce] Best ways to customize WooHi @johndcoy,
How to deal with modified files in plugins?
I looked at Code Snippets plugin. It is a great tool for code snippets such as add_action(…). However, I have felt that it might not be much help if changes are to html files such as adding one row to an existing table. Am I right?
Thanks
Jz
Forum: Plugins
In reply to: [WooCommerce] Best ways to customize WooJohn,
Thanks for your advice. BTW, may you please elaborate on “custom child-theme”?
I did create a child theme (storefront-child for storefront) which houses modifications of php files under storefront theme. Now, I like to do similar things to plugins (e.g. WooCommerce and its extensions). Can I?
I’ll give Code Snippet approach a try
Thanks again
John
Forum: Plugins
In reply to: [WooCommerce] Pointer to documentation for customizing email templateForum: Plugins
In reply to: [WooCommerce] Pointer to documentation for customizing email templateIn case anyone is interested in this subject, I got this link from WooCommerce support:
Forum: Plugins
In reply to: [WooCommerce] Pointer to documentation for customizing email templateThanks for the pointer. I forgot to mention in the original question: whether Woocommerce has anything in its official documentation for this purpose?
JZ
Forum: Plugins
In reply to: [WooCommerce] Accessing WooCommerce databaseThanks to everyone who engaged in the discussion above.
I did a “show tables” in the database, I got a list (see below, I removed the
prefix in the table names so they are easy to be read).Intuitively, I expected something like Orders, Products, Coupons in the tables names.
Besides, order_items, I found none of these importants entities in Woo. That was the reason I brought up the question in the first place.Did I miss anything? If not, where can I find list of orders, products, coupons etc?
Thanks again
JZ
————- List produced by “Show tables” in mySQL ————-
commentmeta
comments
failed_jobs
links
mailchimp_carts
oauth_access_tokens
oauth_authorization_codes
woauth_jwt
oauth_public_keys
oauth_refresh_tokens
oauth_scopes
options
postmeta
posts
queue
social_users
term_relationships
term_taxonomy
termmeta
terms
usermeta
users
wc_download_log
wc_webhooks
wcpv_commissions
wcpv_per_product_shipping_rules
woocommerce_api_keys
woocommerce_attribute_taxonomies
woocommerce_downloadable_product_permissio…
woocommerce_log
woocommerce_order_itemmeta
woocommerce_order_items
woocommerce_payment_tokenmeta
woocommerce_payment_tokens
woocommerce_sessions
woocommerce_shipping_zone_locations
woocommerce_shipping_zone_methods
woocommerce_shipping_zones
woocommerce_tax_rate_locations
woocommerce_tax_ratesForum: Fixing WordPress
In reply to: Using wp-list-table class in non-admin contextSwayam, does Datatables allows row actions? I looked its page, but it was not clear to me.
Thanks
JohnForum: Fixing WordPress
In reply to: wp-list-table questionI would like to follow up my post earlier, that I adapted the example to use a shortcode from a plugin, if this is what caused the problems?
Thanks
Forum: Fixing WordPress
In reply to: Creating (dynamic) tables as WORDPRESS displays "Pages" or "Plugins"Thanks for the direction of wp-list-table. It helps a lot. Seems to me that wp-list-table is what I am looking for. I also found this article very informative and useful.
Forum: Fixing WordPress
In reply to: Creating (dynamic) tables as WORDPRESS displays "Pages" or "Plugins"Samuel, thanks for your response, which takes care of the data retrieval. How to display the table, in the style of WORDPRESS admin console with the functionalities described in my original post?
Thanks again