Filtering the category and product collections if the customer is a guestMagento-show custom attribute of a...

Clues on how to solve these types of problems within 2-3 minutes for competitive exams

Should I reinstall Linux when changing the laptop's CPU?

A Missing Symbol for This Logo

How to make ice magic work from a scientific point of view?

Can you tell from a blurry photo if focus was too close or too far?

How should I handle players who ignore the session zero agreement?

Am I a Rude Number?

How do you funnel food off a cutting board?

How do you voice extended chords?

Square Root Distance from Integers

Why don't key signatures indicate the tonic?

Crontab: Ubuntu running script (noob)

How to deal with possible delayed baggage?

How do you catch Smeargle in Pokemon Go?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

What makes papers publishable in top-tier journals?

What is a good reason for every spaceship to carry a weapon on board?

Python Pandas - difference between 'loc' and 'where'?

Why do neural networks need so many training examples to perform?

Why was Lupin comfortable with saying Voldemort's name?

Is there a defined priority for pattern matching?

Non-Cancer terminal illness that can affect young (age 10-13) girls?

Do "fields" always combine by addition?

Identify KNO3 and KH2PO4 at home



Filtering the category and product collections if the customer is a guest


Magento-show custom attribute of a product only if that belongs to specific categoryCustom Product Attribute per CategoryExclude category from flat catalog and indexerDisable add to cart for cross category product purchasesHow to limit the number of products that can be added to cart from a particular category in magento 1.9?How can I change the NOT LOGGED IN default tax rate depending on the store being viewed?How to allow admin only manage the products categoryToggle price on category/view.phtml and product/view.phtmlCustomer Specific Product module doesn't work in Magento 1How to get products filtering by category and attributes?













0















Hey i am new in Magento 1 so if any one can help me it will be great!
i need to show a specific category and products only if the customer is logged in and hide it for the guest users. i need to do that via observer.php has any one have any idea how should i proceed?










share|improve this question







New contributor




Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    Hey i am new in Magento 1 so if any one can help me it will be great!
    i need to show a specific category and products only if the customer is logged in and hide it for the guest users. i need to do that via observer.php has any one have any idea how should i proceed?










    share|improve this question







    New contributor




    Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      Hey i am new in Magento 1 so if any one can help me it will be great!
      i need to show a specific category and products only if the customer is logged in and hide it for the guest users. i need to do that via observer.php has any one have any idea how should i proceed?










      share|improve this question







      New contributor




      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      Hey i am new in Magento 1 so if any one can help me it will be great!
      i need to show a specific category and products only if the customer is logged in and hide it for the guest users. i need to do that via observer.php has any one have any idea how should i proceed?







      magento-1.9






      share|improve this question







      New contributor




      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 17 mins ago









      DzalevDzalev

      1




      1




      New contributor




      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Dzalev is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Dzalev is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263623%2ffiltering-the-category-and-product-collections-if-the-customer-is-a-guest%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Dzalev is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Dzalev is a new contributor. Be nice, and check out our Code of Conduct.













          Dzalev is a new contributor. Be nice, and check out our Code of Conduct.












          Dzalev is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f263623%2ffiltering-the-category-and-product-collections-if-the-customer-is-a-guest%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...