geo86
Forum Replies Created
-
Forum: Plugins
In reply to: [IndexNow Plugin] IndexNow Plugin v Bing Webmaster PluginI also have this question although it appears that Bing URL Submissions Plugin is for Bing only while IndexNow Plugin works with multiple search engines that support IndexNow protocol. Some official clarification would be useful.
Forum: Plugins
In reply to: [Link Fixer] Dealing with images that return 404Fair enough, Keith!
Forum: Plugins
In reply to: [WooCommerce] Remove highPrice from schemaNo, not sure if the problem is with WordPress schema or Google because the schema looks fine but Google picks up only the highest price.
Forum: Plugins
In reply to: [Redirection] Constant 404 requests for URLs ending in .sqlUpdate:
The source URL above is not quite right, it should be like this:
^/(.*)\.sql|^/(.*)\.tar|^/(.*)\.7z|^/(.*)\.tar.gz|^/(.*)\.gzA backslach (\) must be added in front of each extension (\.sql, \.tar, \.tz etc.) or it will break all links containing sql, tar etc.
Forum: Plugins
In reply to: [Redirection] Constant 404 requests for URLs ending in .sqlI’ve added a new redirection to deflect all these requests because they are clearly looking to find the database or an archive of it. As I don’t use any of those extensions on my website, this is the rule and all requests are redirected to the home page.
Source URL: ^/(.*).sql|^/(.*).tar|^/(.*).7z|^/(.*).tar.gz|^/(.*).gz
Target URL: /
regexThis behavior is set because if someone has more than 100 product in the shop and need to show the fields for all the products then they need to set a conditional rule based on each product which will be very difficult. Inorder to make it easier we have set it like this.
I disagree.
There is already an option to show the fields for all products:
Product > Equals to/ In > All Products.
Same thing can be achieved by using categories and apply Display Rules per categories.Yes, unused fields can be disabled to prevent them from showing on all products but my worry is people will (definitely) forget at some point and their website will be messed up when wrong fields will show on wrong products.
Risky!
Forum: Plugins
In reply to: [WooCommerce] Add custom field above variations priceThanks Amanda but that still using ‘woocommerce_before_add_to_cart_button’ which does not do what I want.
I can create the field but I can’t get it rendered in the right spot.At the moment ‘woocommerce_before_add_to_cart_button’ displays in this order:
1. Variations drop-downs
2. Variation price
3. My custom filedI’m looking to achieve this order:
1. Variations drop-downs
3. My custom filed
2. Variation priceBy the look of it, I need to grab/remove the ‘add to cart form’ data before it’s rendered, inject my custom field code into it and then add it back.
Found the option in the premium version. Thank you!
Is it available in the Premium version? Because I can’t see it there either.
- This reply was modified 5 years, 9 months ago by geo86.
Hi,
Thank you for your reply!
Because my products do not fit a specific template, I cannot preset forms that I can apply to each category of products.For example:
Product 1 can have these options:
Colour 1 (select)
Colour 2(select)
Type(radio)Product 2 can have these options:
Colour 1(select)
Colour 2(select)Product 3 can have these options:
Name(text)
Mermaid colour(select)
Fish colour(select)The workaround is to create a form for each option (1 form=1 option) and then assign multiple forms to a single product. This works except on thing, I cannot change the order they appear on product page.
So for Product 1 they would display in this order (the order I’ve created them):
Colour 2
Type(radio)
Colour 1I appreciate this is not how this plugin is supposed to be used but is any way I can set a display order for the forms at product level?
Thank you
Forum: Plugins
In reply to: [WooCommerce] auto add product attribute to product when new attribute addedI am too interested if this is possible.
Any guidance?Thank you
Forum: Plugins
In reply to: [Category Featured Images] Display featured image from parent category onlyHi all,
Sorry for beeing thick and not comming back to you.I have managed to alter the plugin shortly after my first post here. The lines 122 to 138 were replaced with the code below:
`// Look for a category featured image
$catobject = get_the_category($object_id); //Get post’s category object based on post’s ID
$catcurrent = $catobject[0]->cat_ID; //Get post’s category
$catparent = $catobject[0]->category_parent; //Get post’s parent category
$images = get_option( ‘cfi_featured_images’ ); //Check if category has featured image setif( isset( $catcurrent ) && $catparent != ‘0’ ) //If a category is parent, its “parent’s” ID is always 0
{
if( $images !== FALSE && isset( $images[$catcurrent] ) ) return $images[$catcurrent];
else return $images[$catparent];
}
else return $images[$catcurrent];}
else return array();
}
}`Did not have time yet to compare with the latest update of this plugin but I guess is something similar.