We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spree_videos gem is now outdated. I still want to use spree_sitemap without product videos for products
--- spree_defaults.rb.orig 2021-07-26 18:33:27.525570670 -0400 +++ spree_defaults.rb 2021-07-26 18:32:41.590569918 -0400 @@ -34,7 +34,7 @@ def add_product(product, options = {}) opts = options.merge(lastmod: product.updated_at) - if gem_available?('spree_videos') && product.videos.present? + if gem_available?('spree_videos') && defined? product.videos # TODO: add exclusion list configuration option # https://sites.google.com/site/webmasterhelpforum/en/faq-video-sitemaps#multiple-pages
If anybody has a better patch, please let me know.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
spree_videos gem is now outdated. I still want to use spree_sitemap without product videos for products
If anybody has a better patch, please let me know.
The text was updated successfully, but these errors were encountered: