Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I don't think this is entirely accurate regarding the configurable product having the 'price'. If you have a configurable with a price, say $80. and a simple with a price of $50. When you select that simple products attribute from the product page the price will change to the simple price of $50. That said the getTypeId method worked. Thanks.
I might just add that I have the config setting ' Add Store Code to Urls' set to Yes for SEO purposes. I'm not sure if this would affect it, I would have thought emulating the other store would be OK but it may cause the issue?
Hi Sander, thanks for your suggestions. I can't get Method 2 to work for me. It keeps returning the /womens/ url when in the womens store and vice versa. I'm using hard coded ids for mens root category and mens store id but the URLs still show the current store.
This is the problem, the 'small' websites only have a small number of products assigned to them (roughly 80 from a possible 60k products). But their sitemaps are showing URLs as if all products have been assigned. This is in 1.7... bug?