Niek
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Uncategorised says it has 1 productHi,
Tried your steps, but unfortunately it wasn’t solving the issue.
When I try to open the category in the product list I see the category with an (1) behind it. But after loading the selection it says ‘no products found’.After renaming the category, the same problem still exists.
I’m not able to make an PR (can’t publish my branch).
I was actually a very small change:Added this function on line 21 in the frontend.php file in /common
add_shortcode('webwinkel_rich_snippet', function() { return $this->get_rich_snippet(); });Which makes the the shortcode
[webwinkel_rich_snippet]available.- This reply was modified 7 years, 3 months ago by Niek.
Ow wait, just found the github repo. Will look to create a pull request
Forum: Plugins
In reply to: [WooCommerce] Function to get changed ordernumberI have solved it.
Actually is was very simple.
I added this function into WP All Export and make the field OrderID an value which is returned by an function.global $woocommerce; function get_order_id($id){ $order = new WC_Order($id); return $order->get_order_number(); }Forum: Plugins
In reply to: [WooCommerce] Function to get changed ordernumberHi @dougaitken,
Thanks for your fast reply.
I have contacted the developers of WP All Export. Maybe they have an solution for this. If that isn’t gonna working, I will try to create a function by my own and ask the Slack Community to take a look into it (if that is permitted :))Forum: Plugins
In reply to: [WooCommerce] Show products on subcategoryYeah, that is exactly what I want, but it’s not working… What I’m doing wrong?
Forum: Plugins
In reply to: [WooCommerce] Show products on subcategoryYou mean the WC version? That is 2.6.14, WordPress is 4.7.3
EDIT: I have the option to change the show setting per category, but it looks it make no sense.
Changed the category page to : subcategories only en tested for one category on the setting products and both, but still no products are shown up.- This reply was modified 9 years, 2 months ago by Niek.
Forum: Plugins
In reply to: [Bulk Add Terms] PHP 7 supportI have solved this to change this file:
bulk-add-terms/class-ts-bulk-add-terms.php.Search line
$lines = split( "\n", $terms );and replaced it with
$lines = explode(PHP_EOL, $terms );The split function is removed in PHP7, so it won’t work anymore.