SaraGraybill
Forum Replies Created
-
That solved it, thank you so much working on this and helping me!
I’m sorry, one more question. It looks like that applies to the exact category. Is there a way to make the items show up if you are in the parent category? For example, have lenses show up under Camera/Video?
Thank you so much for your help. I added the following to my functions.php file but when I search cable in several different categories it’s still showing the same results each time rather then filtering them based on what category I am in. Is there anything else I should try?
add_filter('yith_ywraq_quantity_loop','__return_true'); add_action( 'woocommerce_archive_description', 'my_woocommerce_before_shop_loop' ); function my_woocommerce_before_shop_loop() { if ( is_tax( 'product_cat' ) && function_exists( 'aws_get_search_form' ) ) { aws_get_search_form( true ); } } add_filter( 'aws_search_query_array', 'my_aws_search_query_array' ); function my_aws_search_query_array( $query ) { if ( isset( $_REQUEST['aws_tax'] ) && $_REQUEST['aws_tax'] === 'product_cat' && isset( $_REQUEST['aws_page'] ) && $_REQUEST['aws_page'] ) { global $wpdb; $term_id = $_REQUEST['aws_page']; $query['search'] .= " AND ( id IN ( SELECT object_id FROM $wpdb->term_relationships WHERE term_taxonomy_id IN ( select term_taxonomy_id from $wpdb->term_taxonomy WHERE term_id IN ({$term_id})) ) )"; } return $query; } add_filter( 'aws_searchbox_markup', 'my_aws_searchbox_markup' ); function my_aws_searchbox_markup( $markup ) { $hidden = '<input type="hidden" name="type_aws" value="true">'; $new_fields = '<input type="hidden" name="tax" value="'.get_query_var('taxonomy').'"><input type="hidden" name="page" value="'.get_queried_object_id().'">'; $markup = str_replace( $hidden, $hidden . $new_fields, $markup ); return $markup; }I got it to work thank you all for your help!
I changed events to event and now it doesn’t show up at all
Forum: Plugins
In reply to: [WooCommerce] Woocommerce reducing stock incorrectlyOk, I did that. I’ll have them check and see if that fixed it. Thanks!
Forum: Plugins
In reply to: [WooCommerce] Woocommerce reducing stock incorrectlyI believe so, is there something I can do to make sure everything is completely disabled?
Forum: Plugins
In reply to: [WooCommerce] Woocommerce reducing stock incorrectlyWe added a tradegecko plugin at one point but had nothing but problems with it so removed it. That was when the problems started occurring. It only occurs with certain products. They have about 8000 products loaded and it’s only happening intermittently.
Forum: Plugins
In reply to: [WooCommerce] Woocommerce reducing stock incorrectlyShoot, okay. I’ve included a link to an image that shows the order and the stock notes. It just shows the product reduced by the number of the order.
https://kenzepanne.com/wp-content/uploads/2016/02/KenzeOrder.png
Forum: Plugins
In reply to: [WooCommerce] Woocommerce reducing stock incorrectlyI think I have figured out the issue but I wanted to run it by you.
The problem is they have several different color versions of the same products. They have them all set up as separate simple products with the same SKU. So, when someone orders 2 of each color it reduces the stock of that SKU for each color. Does that sound like it might be causing the problem?
I assume if they have different versions listed as separate simple products they will need to have different SKUs or set it all up as one variable product? Does Woocommerce make stock changes based on SKUs for each order?
Forum: Plugins
In reply to: [WooCommerce] Rounding ErrorAny ideas?
Forum: Hacks
In reply to: Image slider only showing image title on first imageForgot the url to my site: http://graybillcreative.com/arc/otw-portfolio/chickasaw-nation/
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Widget only showing one eventThanks for getting back. I’ll wait and see what the new release does.
Forum: Fixing WordPress
In reply to: RSS Feed broke when upgraded to WordPress 2.4Well, I’ve narrowed it down to the theme. Now I just have to find what in the theme broke it. Thanks for your help in narrowing it down to that.
Forum: Fixing WordPress
In reply to: RSS Feed broke when upgraded to WordPress 2.4Of course not, I completely forgot about that. 🙂 I have done that now for every fix but I still get the same error message.
Any other ideas?
I have also reloaded WordPress.