Yeah, this would be really great to fix, it's a pretty glaring bug, eh?
variations and downloadable files
Create a product with variations. On the main product add a file as product download. When you order any of the variations for the product the downloadable is not available for download not matter what variations you purchase.
IF this is not a bug and its how its built then i think we should hide the product download box on the main product if the product has variations and display a message. Just like we do with the product price if it has variations:
just like that but for the Product download box.
8条回答 默认 最新
- 点赞 评论 复制链接分享
- weixin_39884832 2020-12-02 02:43
Not sure this is a "bug". I've used this for ever as-is - although I could see how this might be confusing. I actually use the download on the main product for other purposes - although the original report is correct - that the main product file isn't used if the customer buys a variation.点赞 评论 复制链接分享
Yeah - seems like an area where the expectation would actually be for a fallback. e.g. if you set a download for the variant, that is used, otherwise, fallback to the main product download.点赞 评论 复制链接分享
If you want we can add a generic function wpsc_get_[META_TYPE]_meta_inherit that automatically follows the path from children to parents. That could work for all meta types attached to any post or taxonomy点赞 评论 复制链接分享
Not sure I want something like that quite yet - I don't even know that the fallback model is one to apply super broadly. But I do think, for this, it makes sense.点赞 评论 复制链接分享
If we can hold off to 3.9 I was planning to do the product meta enhancements at that time, this would fit in well.点赞 评论 复制链接分享
As long as it's a call distinct from wpsc_get_[META_TYPE]_meta the developer has to make the choice if an attribute should flow down under the given circumstance .点赞 评论 复制链接分享
Punting to a future release. Though hey, if we're gonna be honest, if someone is ONLY doing digital downloads, they're not going to use WPeC :)点赞 评论 复制链接分享