ianbee
Forum Replies Created
-
This worked perfect! Thanks a lot.
And just to clarify, the issue wasn’t that there were nested items in the bundle that belonged to different product categories, the issue was that there were more than one product bundle in some orders, each belonging to different product categories.
So for example, a customer has two product bundles in their one order – first bundle is from product category 1, and the second bundle in their order is from product category 2. When “Export all products from the order” was turned on and the product category filter was set to product category 1, instead of exporting the bundle from just product category 1, it would also export the other bundle in their order from product category 2.
None the less your code fixed my issue ??
Thanks a lot!
Hi,
Turning on “Export all products from the order” worked but it also creates a bigger issue – when turned on, it completely ignores product category filters.
So for example, I have 4 product categories:
1. Pre-Orders June
2. Pre-Orders July
3. Pre-Orders August
4. Pre-Orders SeptemberWhen exporting June orders, I set the product category filter in “filter by product” to “Pre-Orders June”. And when “Export all products from the order” is unchecked, the export works properly and only exports products within the specified “Pre-Orders June” product category.
However, when “Export all products from the order” is checked, the export now includes products from all other unwanted product categories – Pre-Orders July, Augst, September etc… even though the product category filter is set to June.
Hope this makes sense. In short – turning on “Export all products from the order” allows me to see the products within the product bundles, but it also ignores the product category filter that i have set and thus includes unwanted / unspecified products in the order export.
Thanks for the reply.
Yes, I see nested items:
https://i.imgur.com/qfJt0Pc.jpegHere’s a screenshot of my WPClever Product Bundles plugin settings (zoom in to see better):
https://i.imgur.com/yLdHwX2.jpegForum: Plugins
In reply to: [WebSub (FKA. PubSubHubbub)] Can't Seem To Get it Working :(Thanks for the reply, so it’s not possible to get the updates in real time if you’re not a subscriber?
All I wanted to do was make the content have automatic updates without refresh via an RSS feed. Much like the “Happening Now” section of this website: https://www.answerbag.com/ (It automatically updates without a refresh.. for all viewers).
So is this even possible with the the PubSubHubbub WordPress plugin? Could I get the same automatic rss updater like that website, with this plugin?
just figured out how, I replaced the “*” with “mp3”
Forum: Plugins
In reply to: [User Avatar] No Images can be uploaded since WP3.5 updateit would be great if the author of this plugin could adress this issue or create a fix so the plugin works with 3.5
Forum: Plugins
In reply to: [User Avatar] No Images can be uploaded since WP3.5 updateI have the same issue, accept I don’t even see the option to upload a photo avatar anymore, I just see it in my wordpress panel,and when I try to change my admin avatar, or any other avatar I get the error message: “you are not allowed to do that”. Does this plugin even work with 3.5?
I have this exact same problem, did you ever manage to fix this?
Excerpt length / size isn’t working for me either, it would be great if you could fill us in on how you fixed it
Forum: Hacks
In reply to: Multiple $Get_Posts?I tried changing the $args to only show the news category but now for some reason all the categories run $args, instead of the news just running $args and everything else running $targs… This is my code:
$args=array( 'tag' => 'news', 'showposts'=> 5, 'category'=> '3', <- "3" is my news category :) 'orderby'=> $categoryThumbnailList_OrderType, 'order'=> $categoryThumbnailList_Order ); $targs=array( 'showposts'=> 5, 'category'=> $listCatId[1], 'orderby'=> $categoryThumbnailList_OrderType, 'order'=> $categoryThumbnailList_Order ); if ( $tag = news ) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
Forum: Hacks
In reply to: Multiple $Get_Posts?Hey man, thanks for you help I really appreciate it… the following codes have actually filtered out the posts with the tag “news” successfully, but doesn’t show the other posts in different categories.
if ( $tag = news ) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
and this one works aswell suprisignly:
if ( tag == true) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
If I do something like:
if ( $tag ) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
It shows all the posts for every category but doesn’t filter out the news posts. I think its because I’m not defining a tag so it uses get_posts ($targs) where targs doesn’t filter out any posts.
I’ve tried using this code, but I’ll tell you why it isn’t working..
if ( is_category('news') ) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
I’ve also tried “in_category”.. but both don’t filter out the news at all because the posts aren’t really in the category news. I mean they are technically published under the news category but they’re not being displayed thru the news category, there being displayed through the plugin. I think that’s why the is_category doesn’t work. lol!
But, I need to find a way to tell the plugin if posts are in the news category… then filter and only display posts with the tag “news”… and if there not it the news category.. just display them regardless of tags.
Thanks for the help so far, I think I’m close to figuring this out! Any more help would be awesome! ??
Forum: Fixing WordPress
In reply to: Can't Get "add_action" To Work :(Figured it out myself. Thanks for the help guys…
Forum: Hacks
In reply to: Multiple $Get_Posts?I tried making two different functions for get_posts and then running an if / else statement like so…
$args=array( 'tag' => 'news', 'showposts'=>5, 'category'=> $listCatId[1], 'orderby'=> $categoryThumbnailList_OrderType, 'order'=> $categoryThumbnailList_Order ); $targs=array( 'showposts'=>5, 'category'=> $listCatId[1], 'orderby'=> $categoryThumbnailList_OrderType, 'order'=> $categoryThumbnailList_Order ); if ( tag == true ) { $myposts = get_posts( $args); } else { $myposts = get_posts( $targs); }
This sucesfully filtered the news posts to only show posts tagged with “news” in them.. but then it doesn’t get posts for any other categories. ??
Again… any help would be appreciated sooo much! ??
Forum: Plugins
In reply to: [Category Grid View Gallery] Image Quality Adjustment Doesn't Work With 2.3Awesome, works great now! RESOLVED
Forum: Fixing WordPress
In reply to: Publishing a Post Only in Its Sub-Category?I added that to my functions page and when I submit a post only under “news-sub” it still gets displayed under “news” as well. I even tried refreshing my permalinks. Perhaps I have to delete something from my current functions.php file to in order for your code to work??