And if I do go through the cart with 100% discount and try to complete an order I am shown the error:
Cart is Empty!
That’s great, thanks a lot for your help.
Simon
Hello Tanvir,
The site is currently not accessible externally as it is in development.
I am using WP Pro membership and WPDM pro.
This is the message that is shown instead of the download button on a package that is restricted to particular subscription types.
Thanks,
Simon
Ok thanks.
Can you explain the purpose of the CSV export if it can’t be imported?
Thanks
Hello again,
I’ve fixed that issues and your suggested shortcode is now working.
Thanks for your help.
Thanks, I’ll take a look at that.
However, something you have changed is causing problems on our site. This is a live site so please can you let me know what I need to do to fix this ASAP.
For example: https://www.educateoutside.com/categories/age-4-6/data-handling/
Is displaying this on the page:
WP_Query Object
(
[query] ► Array
(
[post_type] ► wpdmpro
[paged] ► 1
[posts_per_page] ► 10
[tax_query] ► Array
(
[relation] ► AND
[0] ► Array
(
[taxonomy] ► wpdmcategory
[field] ► slug
[terms] ► Array
(
[0] ► age-4-6
[1] ► data-handling
)
[operator] ► AND
)
)
[orderby] ► publish_date
[order] ► desc
)
[query_vars] ► Array
(
[post_type] ► wpdmpro
[paged] ► 1
[posts_per_page] ► 10
[tax_query] ► Array
(
[relation] ► AND
[0] ► Array
(
[taxonomy] ► wpdmcategory
[field] ► slug
[terms] ► Array
(
[0] ► age-4-6
[1] ► data-handling
)
[operator] ► AND
)
)
[orderby] ► publish_date
[order] ► DESC
[error] ►
[m] ►
[p] ► 0
[post_parent] ►
[subpost] ►
[subpost_id] ►
[attachment] ►
[attachment_id] ► 0
[name] ►
[pagename] ►
[page_id] ► 0
[second] ►
[minute] ►
[hour] ►
[day] ► 0
[monthnum] ► 0
[year] ► 0
[w] ► 0
[category_name] ►
[tag] ►
[cat] ►
[tag_id] ►
[author] ►
[author_name] ►
[feed] ►
[tb] ►
[meta_key] ►
[meta_value] ►
[preview] ►
[s] ►
[sentence] ►
[title] ►
[fields] ►
[menu_order] ►
[embed] ►
[category__in] ► Array
(
)
[category__not_in] ► Array
(
)
[category__and] ► Array
(
)
[post__in] ► Array
(
)
[post__not_in] ► Array
(
)
[post_name__in] ► Array
(
)
[tag__in] ► Array
(
)
[tag__not_in] ► Array
(
)
[tag__and] ► Array
(
)
[tag_slug__in] ► Array
(
)
[tag_slug__and] ► Array
(
)
[post_parent__in] ► Array
(
)
[post_parent__not_in] ► Array
(
)
[author__in] ► Array
(
)
[author__not_in] ► Array
(
)
[ignore_sticky_posts] ►
[suppress_filters] ►
[cache_results] ► 1
[update_post_term_cache] ► 1
[lazy_load_term_meta] ► 1
[update_post_meta_cache] ► 1
[nopaging] ►
[comments_per_page] ► 50
[no_found_rows] ►
[taxonomy] ► wpdmcategory
[term] ► age-4-6
)
[tax_query] ► WP_Tax_Query Object
(
[queries] ► Array
(
[relation] ► AND
[0] ► Array
(
[taxonomy] ► wpdmcategory
[terms] ► Array
(
[0] ► age-4-6
[1] ► data-handling
)
[field] ► slug
[operator] ► AND
[include_children] ► 1
)
)
[relation] ► AND
[table_aliases:protected] ► Array
(
)
[queried_terms] ► Array
(
[wpdmcategory] ► Array
(
[terms] ► Array
(
[0] ► age-4-6
[1] ► data-handling
)
[field] ► slug
)
)
[primary_table] ► wp_posts
[primary_id_column] ► ID
)
[meta_query] ► WP_Meta_Query Object
(
[queries] ► Array
(
)
[relation] ►
[meta_table] ►
[meta_id_column] ►
[primary_table] ►
[primary_id_column] ►
[table_aliases:protected] ► Array
(
)
[clauses:protected] ► Array
(
)
[has_or_relation:protected] ►
)
[date_query] ►
[request] ► SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (
(
SELECT COUNT(1)
FROM wp_term_relationships
WHERE term_taxonomy_id IN (90,125,127,128,129,137,196,295)
AND object_id = wp_posts.ID
) = 8
) AND wp_posts.post_type = ‘wpdmpro’ AND (wp_posts.post_status = ‘publish’) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 10
[posts] ► Array
(
)
[post_count] ► 0
[current_post] ► -1
[in_the_loop] ►
[comment_count] ► 0
[current_comment] ► -1
[found_posts] ► 0
[max_num_pages] ► 0
[max_num_comment_pages] ► 0
[is_single] ►
[is_preview] ►
[is_page] ►
[is_archive] ► 1
[is_date] ►
[is_year] ►
[is_month] ►
[is_day] ►
[is_time] ►
[is_author] ►
[is_category] ►
[is_tag] ►
[is_tax] ► 1
[is_search] ►
[is_feed] ►
[is_comment_feed] ►
[is_trackback] ►
[is_home] ►
[is_privacy_policy] ►
[is_404] ►
[is_embed] ►
[is_paged] ►
[is_admin] ►
[is_attachment] ►
[is_singular] ►
[is_robots] ►
[is_favicon] ►
[is_posts_page] ►
[is_post_type_archive] ►
[query_vars_hash:WP_Query:private] ► c2837e7f55ba9b2c66d1b00fdd5b1e63
[query_vars_changed:WP_Query:private] ►
[thumbnails_cached] ►
[stopwords:WP_Query:private] ►
[compat_fields:WP_Query:private] ► Array
(
[0] ► query_vars_hash
[1] ► query_vars_changed
)
[compat_methods:WP_Query:private] ► Array
(
[0] ► init_query_flags
[1] ► parse_tax_query
)
)
Hello. Is anyone available to assist with this please?
Do you have any suggestions of how I can get this working? Thanks.
The query that is sent to WP_QUERY is below… does that help identify the issue?
Array ( [post_type] ► wpdmpro [paged] ► 1 [posts_per_page] ► 10 [tax_query] ► Array ( [0] ► Array ( [taxonomy] ► wpdmcategory [field] ► slug [terms] ► Array ( [0] ► age-4-6 [1] ► data-handling ) [operator] ► AND ) ) [orderby] ► publish_date [order] ► desc [error] ► [m] ► [p] ► 0 [post_parent] ► [subpost] ► [subpost_id] ► [attachment] ► [attachment_id] ► 0 [name] ► [pagename] ► [page_id] ► 0 [second] ► [minute] ► [hour] ► [day] ► 0 [monthnum] ► 0 [year] ► 0 [w] ► 0 [category_name] ► [tag] ► [cat] ► [tag_id] ► [author] ► [author_name] ► [feed] ► [tb] ► [meta_key] ► [meta_value] ► [preview] ► [s] ► [sentence] ► [title] ► [fields] ► [menu_order] ► [embed] ► [category__in] ► Array ( ) [category__not_in] ► Array ( ) [category__and] ► Array ( ) [post__in] ► Array ( ) [post__not_in] ► Array ( ) [post_name__in] ► Array ( ) [tag__in] ► Array ( ) [tag__not_in] ► Array ( ) [tag__and] ► Array ( ) [tag_slug__in] ► Array ( ) [tag_slug__and] ► Array ( ) [post_parent__in] ► Array ( ) [post_parent__not_in] ► Array ( ) [author__in] ► Array ( ) [author__not_in] ► Array ( ) ) Array ( [post_type] ► wpdmpro [paged] ► 1 [posts_per_page] ► 10 [tax_query] ► Array ( [0] ► Array ( [taxonomy] ► wpdmcategory [field] ► slug [terms] ► Array ( [0] ► age-4-6 [1] ► data-handling ) [operator] ► AND ) ) [orderby] ► publish_date [order] ► desc [error] ► [m] ► [p] ► 0 [post_parent] ► [subpost] ► [subpost_id] ► [attachment] ► [attachment_id] ► 0 [name] ► [pagename] ► [page_id] ► 0 [second] ► [minute] ► [hour] ► [day] ► 0 [monthnum] ► 0 [year] ► 0 [w] ► 0 [category_name] ► [tag] ► [cat] ► [tag_id] ► [author] ► [author_name] ► [feed] ► [tb] ► [meta_key] ► [meta_value] ► [preview] ► [s] ► [sentence] ► [title] ► [fields] ► [menu_order] ► [embed] ► [category__in] ► Array ( ) [category__not_in] ► Array ( ) [category__and] ► Array ( ) [post__in] ► Array ( ) [post__not_in] ► Array ( ) [post_name__in] ► Array ( ) [tag__in] ► Array ( ) [tag__not_in] ► Array ( ) [tag__and] ► Array ( ) [tag_slug__in] ► Array ( ) [tag_slug__and] ► Array ( ) [post_parent__in] ► Array ( ) [post_parent__not_in] ► Array ( ) [author__in] ► Array ( ) [author__not_in] ► Array ( ) [ignore_sticky_posts] ► [suppress_filters] ► [cache_results] ► 1 [update_post_term_cache] ► 1 [lazy_load_term_meta] ► 1 [update_post_meta_cache] ► 1 [nopaging] ► [comments_per_page] ► 50 [no_found_rows] ► ) Array ( [numberposts] ► 5 [category] ► 0 [orderby] ► publish_date [order] ► desc [include] ► Array ( ) [exclude] ► Array ( ) [meta_key] ► [meta_value] ► [post_type] ► wpdmpro [suppress_filters] ► 1 [paged] ► 1 [posts_per_page] ► 10 [tax_query] ► Array ( [0] ► Array ( [taxonomy] ► wpdmcategory [field] ► slug [terms] ► Array ( [0] ► age-4-6 [1] ► data-handling ) [operator] ► AND ) ) [post_status] ► publish [ignore_sticky_posts] ► 1 [no_found_rows] ► 1 [error] ► [m] ► [p] ► 0 [post_parent] ► [subpost] ► [subpost_id] ► [attachment] ► [attachment_id] ► 0 [name] ► [pagename] ► [page_id] ► 0 [second] ► [minute] ► [hour] ► [day] ► 0 [monthnum] ► 0 [year] ► 0 [w] ► 0 [category_name] ► [tag] ► [cat] ► [tag_id] ► [author] ► [author_name] ► [feed] ► [tb] ► [preview] ► [s] ► [sentence] ► [title] ► [fields] ► [menu_order] ► [embed] ► [category__in] ► Array ( ) [category__not_in] ► Array ( ) [category__and] ► Array ( ) [post__in] ► Array ( ) [post__not_in] ► Array ( ) [post_name__in] ► Array ( ) [tag__in] ► Array ( ) [tag__not_in] ► Array ( ) [tag__and] ► Array ( ) [tag_slug__in] ► Array ( ) [tag_slug__and] ► Array ( ) [post_parent__in] ► Array ( ) [post_parent__not_in] ► Array ( ) [author__in] ► Array ( ) [author__not_in] ► Array ( ) ) Array ( [numberposts] ► 5 [category] ► 0 [orderby] ► publish_date [order] ► desc [include] ► Array ( ) [exclude] ► Array ( ) [meta_key] ► [meta_value] ► [post_type] ► wpdmpro [suppress_filters] ► 1 [paged] ► 1 [posts_per_page] ► 10 [tax_query] ► Array ( [0] ► Array ( [taxonomy] ► wpdmcategory [field] ► slug [terms] ► Array ( [0] ► age-4-6 [1] ► data-handling ) [operator] ► AND ) ) [post_status] ► publish [ignore_sticky_posts] ► 1 [no_found_rows] ► 1 [error] ► [m] ► [p] ► 0 [post_parent] ► [subpost] ► [subpost_id] ► [attachment] ► [attachment_id] ► 0 [name] ► [pagename] ► [page_id] ► 0 [second] ► [minute] ► [hour] ► [day] ► 0 [monthnum] ► 0 [year] ► 0 [w] ► 0 [category_name] ► [tag] ► [cat] ► [tag_id] ► [author] ► [author_name] ► [feed] ► [tb] ► [preview] ► [s] ► [sentence] ► [title] ► [fields] ► [menu_order] ► [embed] ► [category__in] ► Array ( ) [category__not_in] ► Array ( ) [category__and] ► Array ( ) [post__in] ► Array ( ) [post__not_in] ► Array ( ) [post_name__in] ► Array ( ) [tag__in] ► Array ( ) [tag__not_in] ► Array ( ) [tag__and] ► Array ( ) [tag_slug__in] ► Array ( ) [tag_slug__and] ► Array ( ) [post_parent__in] ► Array ( ) [post_parent__not_in] ► Array ( ) [author__in] ► Array ( ) [author__not_in] ► Array ( ) [cache_results] ► 1 [update_post_term_cache] ► 1 [lazy_load_term_meta] ► 1 [update_post_meta_cache] ► 1 [nopaging] ► [comments_per_page] ► 50 )
Hello again,
I have done some further testing and I can confirm that it appears that any category that has a child category does not work with AND
operator.
Any category that has no children works without a problem.
Do you have any ideas how I can solve this?
Thanks Nayeem,
How do you suggest that I troubleshoot this?
Thanks.
Thanks,
I have tried changing the category slug but this does not seem to have helped.
It seems maybe that if a category has a child category then it does not work with AND
operator. If the category does not have a child category then it does work. Do you think that might be the case?
Thanks Nayeem,
I don’t fully understand you mean by “I think WordPress not getting this” – are you able to explain a little more about what I need to do to fix this issue?
Thanks
Thanks
Thanks,
Yes, those ones work. But if I change it to "age-7-9,math"
this does not work even though there are resources that are in both of those categories.
Are you able to take another look? Thanks.
Thanks Nayeem, Yes that’s what I would expect but this doesn’t seem to work correctly for all categories for some reason.
I’ll sort out temporary login credentials now.
Hello again.
If the Prime theme is no longer supported why is it still for sale on your website? https://www.wpdownloadmanager.com/download/prime-wordpress-digital-ecommerce-theme/
Thanks. Yes that has done the trick.