NIWO
Forum Replies Created
-
Forum: Plugins
In reply to: [WPC Product Bundles for WooCommerce] You cannot add this bundle to the cartIf it works after resaving, the backend settings should be fine.
It even worked before this issue occured.IF a subitems is set to private and back to public, and afterwards this is causing the issue, well than this is just a bug which has to be fixed.
I believe this code only affects newly uploaded media and not the existing media.
Is that correct?And does this also ensure that the links remain across the entire website?
In addition I would like to ask for a tutorial on how to run this code once.
Is there a good one?And will this code work also on products?
Test done and I can approve that it works.
PERFECT! ??
Thank you so much!
Wow, that was quick!!! ??
Will it also work with the free version?
Regards
Forum: Plugins
In reply to: [Payment Plugins for Stripe WooCommerce] Plugin Conflict but randomI could fix it, by changing how my cookie consent tool is dealing with javascript.
Thank you very much for the hint.
Regards
I’ve had to adjust the code to make it more flexible.
/** * Make specific custom attributes clickable links and ignore non-alphabetic words in German. */ function make_specific_attributes_links( $attribute_html, $attribute, $values ) { $specific_attributes = array( 'Kultivar-Model', 'Japanisches Wort', 'Pflege Hinweise', 'Mat. Eigenschaften', 'USE YOUR OWN ATTRIBUTES' ); // Check if it's a custom attribute (not a global attribute) and is in the specific attributes list if ( ! $attribute['is_taxonomy'] && in_array( $attribute['name'], $specific_attributes ) ) { $attribute_values = array(); foreach ( $values as $value ) { // Check if the value contains only alphabetic characters (German) if ( preg_match( '/^[a-zA-Z??ü??ü?\s]+$/', $value ) ) { // Create the search URL $search_url = home_url( '/?s=' . urlencode( $value ) . '&post_type=product' ); // Generate the clickable link $attribute_link = '<a href="' . esc_url( $search_url ) . '">' . esc_html( $value ) . '</a>'; // Add the clickable link to the array of attribute values $attribute_values[] = $attribute_link; } else { // Non-alphabetic value, add it as plain text $attribute_values[] = esc_html( $value ); } } // Implode the attribute values with the original separators $attribute_html = '<p>' . implode( ', ', $attribute_values ) . '</p>'; } return $attribute_html; } add_filter( 'woocommerce_attribute', 'make_specific_attributes_links', 10, 3 );
Hi,
I guess the Code in that article is writing to the database.
A better solution would be to generate the attribut links, when a product page is opened.
AND
Only for those attributes that make sense to be clickable.With the following code sample and a proper configuration of the search extention Relevanssi or any other search extention, the clickable link will take the clicked term and redirect to the search page with the products listed that share the same search term.
Use this code in a child-theme functions.php OR the plugin Code Snipped.
I recommend Code Snipped./** * Make specific custom attributes clickable links and ignore non-alphabetic words in German. */ function make_specific_attributes_links( $attribute_html, $attribute, $values ) { $specific_attributes = array( ‘Kultivar-Model’, ‘Japanisches Wort’ ); // Check if it’s a custom attribute (not a global attribute) and is in the specific attributes list if ( ! $attribute[‘is_taxonomy’] && in_array( $attribute[‘name’], $specific_attributes ) ) { $attribute_values = array(); foreach ( $values as $value ) { // Check if the value contains only alphabetic characters (German) if ( preg_match( ‘/^[a-zA-Z??ü??ü?]+$/’, $value ) ) { // Create the search URL $search_url = home_url( ‘/?s=’ . urlencode( $value ) . ‘&post_type=product’ ); // Generate the clickable link $attribute_link = ‘‘ . esc_html( $value ) . ‘‘; // Add the clickable link to the array of attribute values $attribute_values[] = $attribute_link; } else { // Non-alphabetic value, add it as plain text $attribute_values[] = esc_html( $value ); } } // Implode the attribute values with the original separators $attribute_html = ” . implode( ‘, ‘, $attribute_values ) . ”; } return $attribute_html; } add_filter( ‘woocommerce_attribute’, ‘make_specific_attributes_links’, 10, 3 );
Forum: Plugins
In reply to: [Google for WooCommerce] Conflict with ATUM PluginHi,
the products are created as usual in WooCommerce.
If than I choose the product-type to be “product-part” by ATUM for example, instead of “simple” by WooC, the product is not anymore visible in the feed of the google listings plugin.
The products are showing up as usual in WooCommerce > Products
The 4 product-types by ATUM are:
Product Part
Variable Product Part
Raw Material
Variable Raw Material
Editing them will make no change within the feed in the listings plugin.
Still NO products are visible.
RegardsForum: Plugins
In reply to: [Google for WooCommerce] Conflict with ATUM PluginYes, as the support of ATUM stated, they use the standard way and it should work by default.
Probably it’s best to look into it.
Where I can make this feature request?Regards
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] Missing translation stringPerfect! Works now.
I didn’t use the “Synch” button to get more strings.Thank you very much. ??
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] Plugin in conflict with Divi Shop BuilderPerfect! Everything if fine now. ??
Thank you very much for the support.The free version of the plugin is awesome.
It is suitable for everyone who starts a business.Regards
Forum: Plugins
In reply to: [WPC Fly Cart for WooCommerce] Plugin in conflict with Divi Shop BuilderPerfect! Works.
The only thing is, that on mouse hover it moves down a bit.
How to solve this? ??
Regards
Hey Bojan,
the snippet isn’t working.
Regards
I understand it.
My aim is to offer a web solution to my clients without letting them manage 2 separate sites.
So far everything seems to work well with WP ERP.
The only issue is just the styling at the backend.
I guess this should be manageable? ??
Are there any other known issues with Divi?Regards