moonfolk
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] CSV Import on a different pageI don’t understand the logic on why you guys are purposely hiding that CSV Import function only for admins. Like you know, every company has team members and I assume many team members must now click each order 1 by 1 to update the tracking data, or we give admin access to team members. With that, i plan to unsubscribe once my current license ends
To solve my problem, I created another PHP page to call your AST Pro’s CSV Import function and shared that page to my team members. My CSV upload page looks exactly the same like AST Pro’s and thanks for spending 2 days of my time, could’ve been much easier for you guys
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] CSV Import on a different pageForum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] CSV Import on a different pageWhy not separate the CSV Import to standalone page? Are my team members not allowed to bulk update tracking information? Lol
Forum: Plugins
In reply to: [Advanced Shipment Tracking for WooCommerce] [Bug] Default Shipping ProviderWe are on AST Pro, version 4.1
We are not updating to the latest yet because we need to do some tests
list_users is the correct one. Thanks and good bye
Can i know which capability within the user roles that is allowing the user to view the cart page? A capability is like “manage_woocommerce”
Forum: Plugins
In reply to: [WP Activity Log] Fatal error — sensors/class-woocommerce-sensor.php:3535- What version of WordPress, WP Activity Log and WooCommerce extension are you running please?
WordPress 6.0.5
Woocommerce 7.7.2
WP Activity Log (Premium) 4.5.2
WP Activity Log for WooCommerce 1.5.2 - Are you able to easily reproduce this or it happens sporadically?
Not able to reproduce on my own. The first few days after activating it, no issues. It comes after a while and it won’t stop after that.
Some issues:
– some orders in “processing” status suddenly had a lot of a product
– customers report of fatal error at check out - Has this been happening since you installed the plugin, or you’ve been using the plugin for a while and it only started happening after maybe an update, of our plugin, or any other plugin? If so, which plugins please?
Used the plugin for a while and it only started happening after a few days. No other apps installed / updated
I currently have it disabled 🙁
Solved, thanks
Hi admin. Thank you for your code snippet! It works!
Note to other readers: Get the Group ID from B2BKing > Groups > B2B Groups > B2B Group List, and not from Registration Roles
- This reply was modified 3 years, 8 months ago by moonfolk.
Found the solution myself! That was easy once I noticed it 🙂 Thanks and great plugin
Forum: Fixing WordPress
In reply to: WooCommerce & WooCommerce Shopee IntergrationAgreed with @cacabe
Avoid CedCommerce. Scam plugin
/**
* Add the custom column to the exporter and the exporter column menu.
*
* @param array $columns
* @return array $columns
*/function add_export_column( $columns ) {
// column slug => column name
$columns[‘post_name’] = ‘Low Stock Threshold’;return $columns;
}add_filter( ‘woocommerce_product_export_column_names’, ‘add_export_column’ );
add_filter( ‘woocommerce_product_export_product_default_columns’, ‘add_export_column’ );/**
* Provide the data to be exported for one item in the column.
*
* @param mixed $value (default: ”)
* @param WC_Product $product
* @return mixed $value – Should be in a format that can be output into a text file (string, numeric, etc).
*/function add_export_data( $value, $product ) {
$low_stock_amount = $product->get_low_stock_amount();
return $low_stock_amount;
}// Filter you want to hook into will be: ‘woocommerce_product_export_product_column_{$column_slug}’.
add_filter( ‘woocommerce_product_export_product_column_post_name’, ‘add_export_data’, 10, 2 );
I believe this is the piece of code that needs to go into functions.php, but I am unsure of the taxonomies. Please help
/** * Add the custom column to the exporter and the exporter column menu. * * @param array $columns * @return array $columns */ function add_export_column( $columns ) { // column slug => column name $columns['post_name'] = 'Low Stock Threshold'; return $columns; } add_filter( 'woocommerce_product_export_column_names', 'add_export_column' ); add_filter( 'woocommerce_product_export_product_default_columns', 'add_export_column' ); /** * Provide the data to be exported for one item in the column. * * @param mixed $value (default: '') * @param WC_Product $product * @return mixed $value - Should be in a format that can be output into a text file (string, numeric, etc). */ function add_export_data( $value, $product ) { $slug = $product->get_slug(); return $slug; } // Filter you want to hook into will be: 'woocommerce_product_export_product_column_{$column_slug}'. add_filter( 'woocommerce_product_export_product_column_post_name', 'add_export_data', 10, 2 ); - What version of WordPress, WP Activity Log and WooCommerce extension are you running please?