Comments (10)
Update on this... related products do not appear when you visit a product on its own rather than vis a collection.
For example, if i click a product from the frontpage the URL is : STOREURL/collections/frontpage/products/PRODUCTNAME
The related products appears fine, however if I go to the the same product directly but not in a collection :
STOREURL/products/PRODUCTNAME
The related products are not visible. I believe this may be a bug with the related products snippet?
from shopify-theme-framework.
Hi Gariah,
I've seen this issue before in another theme. There must be something wrong with the way it's coded. Can you send me the link/password to view the issue on your store? You can get in touch with me directly at http://cam.vc/#contact
from shopify-theme-framework.
I have found the issue. It relates to the way the product loop links to the product pages. Related items don't work when the product page is not accessed within a collection, and the image is linked to the products direct URL (as opposed to the collection URL).
Try clicking the product name on the front page, as opposed to the product image, and you will see what I mean. Suddenly the related items show up!
I'll fix the code for the product loop and commit that as soon as I can. In the meantime, I suggest editing the product loop where the image is wrapped by a link, to reflect the link as it is for the product title.
from shopify-theme-framework.
To expand on my comment. Simply change {{ url }} to {{ product.url | within: collection }}.
I am about to commit the fixed files too.
from shopify-theme-framework.
Perfect thanks Cam!
Sent from my iPhone
On 30 Oct 2013, at 03:36, Cam [email protected] wrote:
To expand on my comment. Simply change {{ url }} to {{ product.url | within: collection }}.
I am about to commit the fixed files too.
—
Reply to this email directly or view it on GitHub.
from shopify-theme-framework.
No probs ;)
from shopify-theme-framework.
Just tried this and it solved the problem for the front page, how could i do it with the view all collections? i.e. collections/all/
from shopify-theme-framework.
Unfortunately that's a limitation of Shopify. You can fix it by following the steps at http://docs.shopify.com/support/your-store/collections/taking-control-of-your-catalog-page
from shopify-theme-framework.
ohh ok thanks, i'll take a look at that link! I can't wait to show you the site I've built with this.. its looking great! I'm already a Foundation heavyweight but not so much with shopify so this has been an invaluable tool
from shopify-theme-framework.
Brilliant! I'm keen to see what you have created :) Thanks for the great feedback. It is very appreciated.
from shopify-theme-framework.
Related Issues (20)
- Overflow / Scroll Modal HOT 3
- Error on login page
- Too little products float right. HOT 4
- Add Off Canvas Menu with Cart Included
- Secondary Product Image Display Error HOT 3
- View larger image modal not closing HOT 1
- Product Swatches HOT 7
- Strange behavior with multiple reveal modals on home page HOT 7
- Equalizer Plugin Missing HOT 1
- Add to Cart button adding wrong product. HOT 9
- jQuery Zoom only works on first thumbnail HOT 5
- Products with multiple variants HOT 10
- Reveal Modal not working when trigger button is separate from the modal? HOT 1
- Position of tooltips HOT 1
- Size of product image hover HOT 3
- Accordion HOT 1
- Collection Page Rows HOT 2
- Dynamic price update not working with product variations
- Does this shopify support products with custom core price options? not using for variants option only custom core select option.
- hellow.. i add on product quick view a thumbnail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopify-theme-framework.