Skip to content
New issue

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

Hide and show RSS links #2741

Closed
wants to merge 2 commits into from
Closed

Hide and show RSS links #2741

wants to merge 2 commits into from

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 18, 2022

Description

This fix some bugs with RSS links in Sales / Orders, Catalog / Products and Catalog / Reviews.
For example, when a RSS feed is disabled, it's not necessary to display the link.

Manual testing scenario

You need at least, two store views. Set the following configuration for one of them (not for the default store):

config-rss-store

Go to Catalog / Reviews (same for Sales / Orders and Catalog / Products):

rss

The RSS link must be displayed only for the store where the link is enabled, and the link must use the current selected store.

I hope it's good, at the beginning I started to only add Mage::helper('catalog')->isModuleEnabled('Mage_Rss') and Mage::getStoreConfigFlag('rss/xyz/xyz').

Edit: I forgot to commit CSV update.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)
  • Add yourself to contributors list

@github-actions github-actions bot added Component: Adminhtml Relates to Mage_Adminhtml Component: Rss Relates to Mage_Rss labels Nov 18, 2022
Copy link
Contributor

@sreichel sreichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems you use wrong config pathes for admin grids.

Should be admin_catalog instead of catalog. See #2760 (comment)

@luigifab
Copy link
Contributor Author

luigifab commented Jan 7, 2023

Closed for #2760.

@luigifab luigifab closed this Jan 7, 2023
@luigifab luigifab deleted the rss branch January 7, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Adminhtml Relates to Mage_Adminhtml Component: Rss Relates to Mage_Rss hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants