usat009
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Order Product Search Results by “Menu Order”That drag and drop thing doesn’t do anything as it relates to the product search widgets displayed search results. Unfortunately, the coding solution I found won’t work, as it changes the entire websites search results to be based on menu order, and I can’t assign menu orders to thousands of pages. So this is still unsolved.
The problem is, that WooCommerce “default sorting” does not apply to Product Search results. Instead, it replaces default from the drop down with the term “Relevance”. For whatever nonsensical reason, “Relevance” disregards menu order, and instead alphabetizes the results. This is not helpful, and it shouldn’t require so much research and customization to be able to use the same ordering logic in search results as on a category page.
- This reply was modified 5 years, 10 months ago by usat009.
Forum: Plugins
In reply to: [WooCommerce] Crossell Based on VariationsNo, that’s a bit more extreme. I could just use grouped products if I wanted to force below to buy a router with a specific antenna in a single purchase. I just want to recommend the correct variation product that pairs with another variation product, without forcing them to purchase it.
Forum: Plugins
In reply to: [WooCommerce] Order Product Search Results by “Menu Order”I found something on StackOverflow that solved the issue by adding a short snippet to the functions.php in my child theme.
/**
* Sort product search results by menu order
*/add_action(‘pre_get_posts’,’sortby_menuorder_query’);
function sortby_menuorder_query($query) {
if ( isset($_REQUEST[‘s’]) ) {
$query->set(‘orderby’, ‘menu_order’);
$query->set(‘order’, ‘ASC’);
}
}Forum: Plugins
In reply to: [WooCommerce] WooCommerce Sort by Term ID in Variations Not WorkingI just set the attribute to custom ordering and dragged the 90-day option to where I wanted it to be in the dropdown under the configure attributes area. I don’t know why sorting by term ID didn’t order them correctly from the start, but this worked just fine.
- This reply was modified 5 years, 10 months ago by usat009.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Sort by Term ID in Variations Not WorkingNevermind, i’m an idiot. I fixed it.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce Sort by Term ID in Variations Not WorkingNo matter how I add teh terms under attribute, and then under attribute tab on the product itself, and then under the variations tab, it always reorders them on the front end product page to be in the incorrect order. The term ID’s of the attributes are in numerical order, the product ID’s are in numerical order. but WooCommerce always shifts the order on the front end display.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] MD Prevents Contact Form ValidationAdd this to your functions.php file
add_filter( ‘wpcf7_validate_configuration’, ‘__return_false’ );
It turns off the validator. There are other things that could be causing the validator to cause issues. For me, it was that i wanted my forms to email to people outside the domain name.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Change Specific Label Colors with ClassIs there a different CSS for styling card titles?
Forum: Plugins
In reply to: [Material Design for Contact Form 7] File Upload Button ColorYou answered my other two inquiries. This question would still apply if i was on the free version. When i click “support” within the WP backend it takes me to this forum, not to a private forum.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Overall Label Color ChangeThank you!
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Change Specific Label Colors with ClassThanks!
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Overall Label Color ChangeI was able to change the Text Field label colors to black. I just realized my specific problem is that I need to change the color of the Checkbox, Radio and Upload File fields. Basically everything that isn’t in the text or textarea classes of labels.
Forum: Plugins
In reply to: [Material Design for Contact Form 7] Change Specific Label Colors with ClassI figured out how to do this by using standard CF7 classes as CF7MD doesn’t have any options that I can see for adding text in between form fields. If there is a way, and a way to style them, please let me know. I don’t know if the MD-RAW tags can contain text without options that can be styled using the MD-RAW class, if possible, then that would be better than my less than great work around that combines MD and standard CF7 coding.
Forum: Plugins
In reply to: [Contact Form 7 - Dynamic Text Extension] CF7_URL error: adding a :443 in urlIt’s not necessary to edit anything in any of the plugins PHP files to get the URL that resulted in the contact form.
You just add “[dynamichidden dynamictext PageURL “CF7_URL”] to the form.
And you can use the standard [_url] tag in the mail area.Forum: Plugins
In reply to: [Redirection for Contact Form 7] All Pages Redirect Except ONENo, I was able to use javascript in the functions.php of the theme to eliminate the need for the plugin entirely.