Hi Niloy (@im_niloy),
I develop a few plugins including FiboSearch and FiboFilters. In the FiboFilters plugin, we have a conflict with your JVM WooCommerce Wishlist. The integration requires adding some things to your plugin. Let me explain what’s going on.
The main product’s HTML container is dynamically overwritten in FiboFilters when the page reloads or when the filter state changes. You can learn more how it works here. In these cases, we lose JS events that are registered by JVM WooCommerce Wishlist.
It’s a popular issue and we solve it in integrations with other plugins or themes by calling special functions to reinitialize or reset all events. Unfortunatelly I didn’t find such a function in the JS file jvm-woocommerce-wishlist/assets/js/wishlist.js
.
Could you add a way to reinit all necessary JS events using the global scope variable? It could look like this:
window.cix_wishlist_reinitialize();
Then we and maybe other developers will be able to call this function every time when the JS events need to be registered again, especially after loading products by AJAX.
Best
Damian Góra
Why does Codeixer feel the need to ‘hijack’ the main menu by inserting their company name as a menu option?! If you need more visibility work on your ads or marketing. We do not want another main menu option for just using one of your plugins.
The wishlist settings can be placed perfectly under woocommerce or in settings.
Codeixer main menu hijack
]]>
Hi @jorisvanmontfort, can we assume you have sold the plugin? There have been breaking changes in the last release.
]]>I have a custom hook to show the stock status. It seems that with 2.0 the default woocommerce hooks are no longer used. All products show as “in stock” while in fact they are not.
]]>When using no text, only an icon, there is a whitespace added when a item is wishlisted.
]]>Hi!
First of all, thank for a great plugin!
It works great, but if user is not login, items in whishlist is not appear (jvm_woocommerce_wishlist_get_wishlist_product_ids return null).
How can this problem be solved?
Hey!
I absolutely love how light weight this plugin is. Just wondering if you can help with adding social media share icons and if you had any luck with prior exploration of adding a Wishlist count – preferably ajax
Any help!
]]>Hi Joris! I am using the JVM woocommerce plugin and WPML to translate woocomerce products , there are two languages translated , I added some products to wishlist, and go to the wishlist page, I can see the products in the wishlist table in current language, but when I switch the other language the wishlist page is empty, is there any way to show the products on the wishlist page in defferent language
]]>Hello Joris,
I’ve managed to overlay a heart icon on my catalog page images, but for some reason (probably my theme) this does not work well on single product images. I’ve tried a couple of different hooks but it’s always slightly off the image.
For now I’m happy to keep the default button (Next to Add to Cart) on single product pages, but is there a way I can keep my other style on catalog pages? So essentially two differently styled ways to initiate the same ‘Add to wishlist’ action.
Many thanks, Dan
]]>Hi There,
This is a great plugin. Great job. Can you please make a shortcode to accept product id.
I am trying to add wishlist icon to my custom product loop. Here i need to pass the product id inside the shortcode.
Thanks
]]>Hello Joris,
I have implemented the JVM Wishlist plugin on my website, But the wishlist icon is not shown on the single product page, how it can be visible on it?
Thanks
Ranjeet Singh
Hello Joris,
Hope you are doing well.
If possible, please make it happen. I’m looking for an option “Add to cart” in the wishlist table. I think it’ll very helpful for our customers.
If anybody wants to purchase the products he or she easily purchase from the wishlist page.
Hope you understand!
Regards
Ranjeet Singh
Hello, Joris.
Hope you are doing well, Could you please let me know how I’ll make an ajax wishlist counter on the website top menu.
I don’t know the core codding as much, Could you explain step by step, please.
Thanks
Ranjeet Singh
Hello,
Are there any plans to add support for variations (variable products)? i.e. being able to wishlist a specific variation rather than the whole variable product.
Hello Joris,
Thanks for the great plugin. I wanted to see how I can get the user to login first when trying to add to wishlist. When the user clicks on the wishlist icon in the product category page, or product page, I’d like to open the login form and redirect back to the product category/product with the item added once login is successful.
Thanks
]]>Hello!
First of all, thank you for a lightweight Wishlist plugin that doesn’t come with a ton of bloat! Features just work straight out of the box, fast and problem free. Loco Translate plugin also worked nicely to translate some of the strings.
Customizing the template wishlist page was also simple. Great stuff, thank you!
I’d like to customize the look more though.
1. General styling: The button has inherited colors/style from somewhere (a little unsure of this, but can override with some !important styling… though not preferred). What classes should I ideally use to style the button with?
2. Move the button. Right now, it’s plastered up against the Add to Cart button on product page. I’d like to at least add a space between them, or even better, move it down beneath it with a bit text too like this: https://imgur.com/a/yONYlOR
Similarly, I’d also like to move the button on the archive page, ideally to the top right corner of the product, but I’m not sure where to find/grab/change this stuff.
Side-note: I’ve got some experience with PHP and quite a few years with general web development, but this is my first WordPress/WooCommerce project.
Thank you and best regards, EQR
]]>You have a great simple plugin that you really like, could you add a hook to change the icon so as not to edit the plugin code, now of course I will do it in the plugin and prevent it from updating, but if an update appears I will definitely fix my code
]]>Hello,
after install the update plugin i have this errors :
[04-Jun-2020 11:32:52 UTC] PHP Notice: Undefined index: wishlistIds in /var/www/vhosts/*********.fr/httpdocs/wp-content/plugins/jvm-woocommerce-wishlist/inc/ajax/www-ajax-functions.php on line 26
[04-Jun-2020 11:32:52 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/*********.fr/httpdocs/wp-content/plugins/jvm-woocommerce-wishlist/inc/frontend/www-functions.php on line 82
You can see what it does in frontend
How can I download the previous versions please?
Thanks
]]>After install this plugin below error has been occurred:
Fatal error: Uncaught Error: Call to undefined function
jvm_woocommerce_wishlist_get_site_slug() in ...\wp-content\plugins\jvm-woocommerce-wishlist\jvm-woocommerce-wishlist.php:274
]]>
I like how really simple and customizable your wishlist is. However, it seems that the wishlists are shared by users with the same roles? I registered a user with “Customer” role and added items to the wishlist using that user’s account. I registered another user with the same role. The same items were displayed in the wishlist even though I haven’t started adding for the new user. Is it possible for registered users to have their own wishlist? I’m not an advanced developer, so it’d be great if you could guide me, thanks!
]]>I tried with css (color:transparent, background-image:myicons) but it doesn′t work as I want. Thank you for your plugin!!
]]>Hello, Joris.
As you pointed out in the description, the plugin is mainly for advanced developers, but I do like it’s simplicity and lack of bloat. Thank you for this.
However, since I’m not one of the advanced devs, but I’m trying to improve, I managed to add a Wishlist link in the header, next to the cart counter, but I can’t make it show an actual counter. I know you have provided jvm_woocommerce_wishlist_get_count() function, but… I guess that’s for the advanced devs. Can you please guide me on the right track with this? What should I do to have that counter work and update via AJAX? Some practical examples/tutorials would certainly help a lot.
Thank you,
Ovidiu.
On my website, when logged in to an account, I am unable to remove the last item from the wishlist, unless I remove it, go to the page again, and remove it again. Then it persists.
My basic troubleshooting has involved ensuring the javascript event for removing a product from the list fires (it does) and checking the cookie. The product id remains in the cookie until the second time removing it from the wishlist.
I’m at a loss here. Can you help me troubleshoot? I don’t know that there’s anything wrong with your plugin… could be caching, redis or fastcgi caching… but I just don’t know.
It does not seem to happen to guest users without an account.
]]>Hi,
I am looking for a possibility to put a product, in this case a book, to a wishlist by clicking a standard button that is placed on an image overlay (see upper left item on the page). For that end I would need an URL or shortcode that I can call when the button is pressed.I do not use a standard product archive page.
Is that possible with JVM WooCommerce Wishlist?
best,
Ludwig
I just updated to the latest version and found an “bug” came back. It seems that in my earlier version I removed the white space in the a href link. This solves an blank space on the front end code.
Would you be so kind to remove this in your original version too?
line 55: www-functions.php change from:
?>
<a
class="<?php echo esc_attr( $class ); ?>"
href="?add_to_wishlist=<?php the_ID(); ?>"
to:
?><a class="<?php echo esc_attr( $class ); ?>"
href="?add_to_wishlist=<?php the_ID(); ?>"
And the output is much cleaner ??
]]>Hello,
I want to change the letters(language).
ex)
add to wishlist(hover heart)
remove from wishlist(hover heart)
wishlist(admin menu)
In stock(wishlist page)
Can I change?
Thank you!!
]]>Hello,
Thank you for a wonderful plugin.
I think it require Login.
Can I register on the watch list without logging in?
Thank you!
]]>I wanted to add the JVM WooCommerce Wishlist to the Storefront dashboard. Below you will find how to achieve this:
Remember to visit permalink settings in wordpress after adding this code! It will update the rewrite for dashboard.
add_filter ( 'woocommerce_account_menu_items', 'my_dashboard_wishlist' );
function my_dashboard_wishlist( $menu_links ){
// we will hook "anyuniquetext123" later
$new = array( 'wishlist' => 'Wishlist' );
// array_slice() is good when you want to add an element between the other ones
$menu_links = array_slice( $menu_links, 0, 1, true )
+ $new
+ array_slice( $menu_links, 1, NULL, true );
return $menu_links;
}
add_action( 'init', 'my_dashboard_wishlist_add_endpoint' );
function my_dashboard_wishlist_add_endpoint() {
// remember to visit permalink settings in wordpress after adding this code
add_rewrite_endpoint( 'wishlist', EP_PAGES ); //EP_ROOT |
}
add_action( 'woocommerce_account_wishlist_endpoint', 'my_dashboard_wishlist_endpoint_content' );
function my_dashboard_wishlist_endpoint_content() {
include locate_template( array('woocommerce/myaccount/my-wishlist.php'));
}
Also do note the include locate_template file. This needs to be an template file containing the do_shortcode. Here is my template file for your reference.
<?php
/**
* My Wishlist
*
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<p>
<?php echo apply_filters( 'woocommerce_my_account_my_wishlist_description', __( 'The following products are on your wishlist.', 'woocommerce' ) ); ?>
</p>
<header class="woocommerce-address-title title">
<h3>Wishlist</h3>
</header>
<?php
echo do_shortcode('[jvm_woocommerce_wishlist]');
?>
]]>
For the storefront theme it might be ‘nicer’ to add the button inside the div gridlist-buttonwrap instead of outside/afterwards.
Benefits in my plain storefront theme is that the favorite button is easier to style. Especially keeping in mind the [view cart] button which appears after adding the product to cart.
For now I have added the following code to add the button inside the div. I would like to hear your thoughts about this.
file: www-functions.php
line: 66
code:
add_filter( 'gridlist_button_wrap_end', 'jvm_filter_gridlist_button_wrap_end', 10, 1 );
function jvm_filter_gridlist_button_wrap_end( $output ) {
return jvm_woocommerce_add_to_wishlist().'</div>'; // this is the default output
}
CSS:
.gridlist-buttonwrap {
text-align:center;
}
.gridlist-buttonwrap a {
display: inline-block;
}
.added_to_cart {
float: right;
margin-left: 0px;
margin-right: 2em; /*not the very best solution but good for now*/
}
]]>
I have placed the wishlist.php template in my child theme folder /jvm-woocommerce-wishlist/ but it is not being used.
Browsing in the code I noticed the function [jvm_woocommerce_wishlist_locate_template] but it seems it is never called in any of the scripts?
I think it that function should be used in [jvm_woocommerce_wishlist]?
]]>