templateinvaders
Forum Replies Created
-
Hi @jvkonfi
Be sure that you are using the latest version of our plugin (2.0.6) and clear all possible caches including your browser.
P.S. Just tested the clean setup on your code works as should. You can run your code directly from the console and see results on ajax response.
Hi @jvkonfi
We’ve added the javascript event
tinvwl_wishlist_ajax_responsefrom plugin version 2.0.6 to get such data.You can get the
dataobject from the AJAX response using the next code:
jQuery('body').on('tinvwl_wishlist_ajax_response', function(event,post,data){})Forum: Plugins
In reply to: [TI WooCommerce Wishlist] user public wishlist in user profileHi @tonio9
The wishlist table shortcode support an attribute
sharekeythat is unique for each wishlist so you can use it like:
[ti_wishlistsview sharekey="452b42"]Get wishlists for each user you can use the next code:
$wl = new TInvWL_Wishlist(); $wishlists = $wl->get_by_user($user_id);You need to create a custom solution to your needs based on the code ideas above.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] critical errorOn your screenshot is the general WordPress message about the error.
We need exactly PHP error details in this case. You can get it from PHP error logs on your hosting panel.
Thanks.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] critical errorCould you post error details so we can able to solve this issue?
We didn’t get any similar report yet, so it’s something specific to your setup.
Thanks!
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] If ( Wishlist has items )Hi @marks99
It should be
TInvWL_Public_WishlistCounter::counter()
This method returns the number of products on a wishlist for the current user.Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Empty list on menu linkHi @2beards
You need to exclude from cache the wishlist page URL. Technically the /polubione/ and /polubione/6c6e33/ is the same page but the general URL cached with the empty content for everyone.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] SQL syntax Error on Wishlist SearchThanks for the bug report.
It affects only when logged users get empty wishlists search results in the premium version of our plugin.
The fix is included in the upcoming update.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Error ajax.phpIf im administrator or im not login i have the same thing:
if i remove product in wishlist – i dont have link wishlist/somerandomlistnuber, and i have information – no product in the list, but they are.Please, test the 2.0.5 version because 2.0.4 included the wrong file for the wishlist owner.
Be sure that you purged all possible cache.
If im login as administrator i have 403 error in in wishlist even i remove cache, remove cookies etc:
wp-content/plugins/ti-woocommerce-wishlist/includes/api/ajax.php
Your webserver has some security settings that blocked direct requests to this file OR your page has cached expired nonce (Don’t use cache time more than 12 hours).
`i have analytics.min.js script – with few scripts in it. Like initialisation of hotjar, ga4, adwords and facebook.
if i remove hotjar, ga4, adwords and facebook – is the same behavior,
but
if i don`t remove facebook script:
If you don’t get any JavaScript errors on the console you don’t need to make such experiments, it will just get you new issues because of possible cached assets, etc.
i still have 403, but wishlist working without ajax.
Since the 2.0.0 version, all behaviors for post events on the wishlist table were removed in favor of AJAX requests. It’s not possible.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Removing Product issues since 2.0 updateThanks for the bug report, the wrong file was included in the 2.0.4 version and affects only pagination for the wishlist owner. The pagination issue was fixed in the 2.0.5 version.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Removing Product issues since 2.0 updateHi @luboslives
Could you share a link where we can test your issue? You can use help page on our website or support chat on settings page in case you don’t want to post it here. Thanks.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Error ajax.phpIt could be three possible bottlenecks to produce such an issue:
1. Your web server PHP setup disabled the
short_open_tagfeature. We just released version 2.0.4 to fix this issue. Just proceed with automatic updates.2. You have some cache issues. Purge all possible cache including your local browser.
3. You override wishlist table templates in your active theme. You can always check the status of templates while navigating to Dashboard->WooCOmmerce-> Status and scroll the page down to the section “TI WooCommerce Wishlist Templates”.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Removing Product issues since 2.0 updateIt could be three possible bottlenecks to produce such an issue:
1. Your web server PHP setup disabled the
short_open_tagfeature. We just released version 2.0.4 to fix this issue. Just proceed with automatic updates.2. You have some cache issues. Purge all possible cache including your local browser.
3. You override wishlist table templates in your active theme. You can always check the status of templates while navigating to Dashboard->WooCOmmerce-> Status and scroll the page down to the section “TI WooCommerce Wishlist Templates”.
P.S. The option to hide the popup on the wishlist page was added in the 2.0.3 version.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Wishlist table ajaz refresh not workingHi @mahmudit
It could be three possible bottlenecks to produce such an issue:
1. Your web server PHP setup disabled the
short_open_tagfeature. We just released version 2.0.4 to fix this issue. Just proceed with automatic updates.2. You have some cache issues. Purge all possible cache including your local browser.
3. You override wishlist table templates in your active theme. You can always check the status of templates while navigating to Dashboard->WooCOmmerce-> Status and scroll the page down to the section “TI WooCommerce Wishlist Templates”.
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] SQL syntax Error on Wishlist SearchCould you post exactly SQL error details, please?
The mentioned method
get()can accept a predefined SQL string attribute. You mentioned code that used to operate with SQL string passed outside, everything is correct in that case.