zakhardage / shopify-wish-list Goto Github PK
View Code? Open in Web Editor NEWnon-app wish list using customer.tags
non-app wish list using customer.tags
When ever I delete a product from the wished list, it's not deleting and I noticed that the 'x' length of span is keep on increasing,
<span class="remove" data="**xxxxxx**6401784835">or remove</span>
Can you help me with this.
I've got a particular product on a site that doesn't show up in the wishlist display (on the page for the wishlist) even though the tag is correctly assigned to the customer (tag matches product id). Other products in the same shop display as expected. Any idea how to begin troubleshooting this? The product id is 146877211, if that helps.
We got it up running.
with this wish list implemented so that I can have a better idea?
thanks, very interesting
Hi There,
First of all thanks for this Wish list. its very interesting! I just have one problem .
When I click on add to wishlist ,then it should show "This Product is in your wishlist" . But this is not happen currently. there are no errors in console either.
Please see it your self
http://world-fellow.myshopify.com/collections/france/products/educational-tour-of-the-provence-region .
it will ask you for login. so you can use these anonymous login [email protected] , demo123
Thanks a lot!
I'm getting an error that there are unclosed forloops. see if that you have {% for tag in customer.tags %}
without a close around line 4 and 8
Previous code is working, but the new one is not working:
{% capture id %}{{ product.id }}{% endcapture %}
{% for tag in customer.tags %}
{% if tag contains id %}{% assign t = tag %}{% endif %}
{% endfor %}
{% assign check = t.size | minus:id.size | modulo:2 %}
{% unless check == 0 %}{% assign display = true %}{% endunless %}
{% if display %}
<span>Add</span>
{% else %}
<span>Added</span>
{% endif %}
Should return Add
, but this return Added
So I've been testing my wishlist function for months now and I've run into a wall because of the # of tags used for one user. Any account page that I tried to access for that user was not accessible and I got the following error message "liquid error: memory limits exceeded".
After checking the user's admin, I saw a lot of tags (I didn't count them unfortunately) but after removing the tags with x's or multiple x's all worked fine. I have two questions:
Thanks
Hi, this is a great little hack for an App-less version of a wishlist, I'm going to be using it in my future themes and was just wondering if there is a way of performing a wishlist product count, separate from the current code?
For example, in the header of my page I would like to have "Wishlist - X Item(s)" where I could also then do a check on 'page.wishlist' to see if the "email to a friend" link should be displayed or not.
Can you really add customer tags by using the customer form? I've never seen this done before.
How does one go about clearing the memory on customer.tags to empty out all items in the "Wish List"? I am using a duplicate theme to test out this widget, but have hit a wall with "Liquid error: memory limits exceeded" and can no longer proceed in seeing my edits. Please help.
When submitting the form it redirects to a captcha page and since it's done by ajax you can't verify the captcha
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.