If you think that 99% of systems work this way, you need to do more investigation. If you click on a product in a given category, the breadcrumb should most definitely show the product in the context of that category, not some arbitrary category. The currently selected category should always be captured, and used. To do otherwise is disorienting to users. If the user is looking at accessories for his or her camera, clicks on a cable, and suddenly is placed in a category of accessories for tablets, I don't think they'll have tremendous confidence in the application.
I am creating categories of my shop, when I finish all my work I will try any kind of fix for this. If I can't find a solution (i am not exactly the best programmer that you will know, jeje) I will have to create the same product 60 times for example.
Another problem of this is that there is not possible to manage stock, I have to do it manually.
hi I have not done this however i think if u pass the category Id from categoryTemplate -> _productBox to ProductTemplate
u have to add a categoryId to the product Model
then change the method GetProductCategoriesByProductId and pass the categoryId to it add a where clause comparing the categoryId with the categories results
I don't think that including category ID in product page URL is good for SEO.
P.S. New idea. Maybe, instead of storing the all browsing history in database, we could store the latest visited category identifier in session cache. Although I think it's more like a hack =(((
It's not a hack at all, it is simply providing a good user experience. This sort of session caching is important in other situations, too, such as using a continue shopping option after adding an item to the cart. If you're not maintaining session information, you can't return the user to the correct page, with the correct context.
I'm bumping this because this pretty much makes Discounts applied to categories, you know so some poor SOB doesn't have to go through over 8000 products and set up Tier Prices, useless.
Why is the breadcrumb's (in this case the Category part) not being set when you click on the link. There's no need to then store user browsing history or any other history.
If the user clicks on another item the new value is set.
I would recommend using the item ID (product or category) as the variable value.
Why would SEO be affected by extra parameters? Isn't that the purpose of the link rel="canonical" header? To be able to send context information as parameters and not affect search engines? Maybe this has changed since 2012?
Looking at NewEgg, their pages do include plenty of context information (ie, source of the product link, either an email or another page). Yet, google stores a simple link (with a single parameter, as specified in the canonical link).
I got here because we're nop-Templates Previous/Next plugin is growing on us, and as we added an "On Sale" category, we would go back to the general category, being unable to iterate through the subset.