Category menu linking direct to productHow to create an new observer on the event catalog_product_save_beforePHP else: statements in addtocart.phtml - Adding conditions to the Add To Cart button on product pageAdd template to custom adminhtml buttonAdd category title to product view pageEdit layered navigation filter titles in Magento 1.9.2Have category page main menu based on current categoryProduct collection displaying wrong categoryHow Can I Customize Magento Default URL (Product URL and Category URL)Programatically add cross sell products to all products within a certain categoryHow to create custom link for category?Creating Custom 'Buy Now' button with Custom buy now link

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Car headlights in a world without electricity

Rotate ASCII Art by 45 Degrees

How can a day be of 24 hours?

Mathematica command that allows it to read my intentions

Is it possible to create a QR code using text?

How to travel to Japan while expressing milk?

Implication of namely

How does a dynamic QR code work?

Theorists sure want true answers to this!

How many wives did king shaul have

Is this draw by repetition?

Fair gambler's ruin problem intuition

What do you call someone who asks many questions?

How obscure is the use of 令 in 令和?

Why are UK visa biometrics appointments suspended at USCIS Application Support Centers?

Could the museum Saturn V's be refitted for one more flight?

Are British MPs missing the point, with these 'Indicative Votes'?

How can saying a song's name be a copyright violation?

Using "tail" to follow a file without displaying the most recent lines

My ex-girlfriend uses my Apple ID to log in to her iPad. Do I have to give her my Apple ID password to reset it?

Was the old ablative pronoun "med" or "mēd"?

Send out email when Apex Queueable fails and test it

How exploitable/balanced is this homebrew spell: Spell Permanency?



Category menu linking direct to product


How to create an new observer on the event catalog_product_save_beforePHP else: statements in addtocart.phtml - Adding conditions to the Add To Cart button on product pageAdd template to custom adminhtml buttonAdd category title to product view pageEdit layered navigation filter titles in Magento 1.9.2Have category page main menu based on current categoryProduct collection displaying wrong categoryHow Can I Customize Magento Default URL (Product URL and Category URL)Programatically add cross sell products to all products within a certain categoryHow to create custom link for category?Creating Custom 'Buy Now' button with Custom buy now link













0















I have a single product and I'd like to link straight to it from the category button is this possible?



For example I have a category called "custom Cut Board"



I only have one product attached to the category. To reduce clicks I would like it when they click the category title it goes straight into the product page.



Any ideas?



Thank you.










share|improve this question














bumped to the homepage by Community 2 days ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















    0















    I have a single product and I'd like to link straight to it from the category button is this possible?



    For example I have a category called "custom Cut Board"



    I only have one product attached to the category. To reduce clicks I would like it when they click the category title it goes straight into the product page.



    Any ideas?



    Thank you.










    share|improve this question














    bumped to the homepage by Community 2 days ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      0












      0








      0








      I have a single product and I'd like to link straight to it from the category button is this possible?



      For example I have a category called "custom Cut Board"



      I only have one product attached to the category. To reduce clicks I would like it when they click the category title it goes straight into the product page.



      Any ideas?



      Thank you.










      share|improve this question














      I have a single product and I'd like to link straight to it from the category button is this possible?



      For example I have a category called "custom Cut Board"



      I only have one product attached to the category. To reduce clicks I would like it when they click the category title it goes straight into the product page.



      Any ideas?



      Thank you.







      magento-1.9






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 12 '17 at 1:03









      Stove Spares LtdStove Spares Ltd

      162




      162





      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 2 days ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Yes this can be done by using the URL Rewrite Management option in Magento Admin.



          In Magento Admin:



          1. Select from menu bar Catalog > URL Rewrite Management.

          2. Click on the Add URLRewrite button.

          3. Select the category you want to redirect from.

          4. Make a note of the ID Path (e.g.: category/10) and the Request Path (e.g.: flowerpots.html)

          5. Repeat steps 1 & 2, but this time select Custom from the Create Urlrewrite dropdown box.


          6. Enter the values in each field:




            • ID Path (from step 4)


            • Request Path (from step 4)


            • Target Path - enter path of your product (or the page you want to redirect to).


              • example 1: for product url www.myswebsite.co.uk/flowers.html enter flowers.html.


              • example 2: for product url www.myswebsite.co.uk/sale/garden/flowers.html enter sale/garden/flowers.html.



          7. Select Redirect Permanent (301) from the Redirect dropdown.


          8. Save.

          Now when the category is clicked on on your website it will re-direct to the product. For more see here.



          OR



          You can can do this by creating observer controller_action_predispatch_catalog_category_view






          share|improve this answer























          • Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

            – Stove Spares Ltd
            Nov 12 '17 at 9:21











          • Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

            – Stove Spares Ltd
            Nov 12 '17 at 9:38












          • If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

            – Arunendra
            Nov 12 '17 at 9:43











          • Hello, how do I create an observer? I've never worked with that before?

            – Stove Spares Ltd
            Nov 12 '17 at 9:44











          • You can get the example from here magento.stackexchange.com/a/41280/21339

            – Arunendra
            Nov 12 '17 at 10:03











          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f201071%2fcategory-menu-linking-direct-to-product%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Yes this can be done by using the URL Rewrite Management option in Magento Admin.



          In Magento Admin:



          1. Select from menu bar Catalog > URL Rewrite Management.

          2. Click on the Add URLRewrite button.

          3. Select the category you want to redirect from.

          4. Make a note of the ID Path (e.g.: category/10) and the Request Path (e.g.: flowerpots.html)

          5. Repeat steps 1 & 2, but this time select Custom from the Create Urlrewrite dropdown box.


          6. Enter the values in each field:




            • ID Path (from step 4)


            • Request Path (from step 4)


            • Target Path - enter path of your product (or the page you want to redirect to).


              • example 1: for product url www.myswebsite.co.uk/flowers.html enter flowers.html.


              • example 2: for product url www.myswebsite.co.uk/sale/garden/flowers.html enter sale/garden/flowers.html.



          7. Select Redirect Permanent (301) from the Redirect dropdown.


          8. Save.

          Now when the category is clicked on on your website it will re-direct to the product. For more see here.



          OR



          You can can do this by creating observer controller_action_predispatch_catalog_category_view






          share|improve this answer























          • Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

            – Stove Spares Ltd
            Nov 12 '17 at 9:21











          • Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

            – Stove Spares Ltd
            Nov 12 '17 at 9:38












          • If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

            – Arunendra
            Nov 12 '17 at 9:43











          • Hello, how do I create an observer? I've never worked with that before?

            – Stove Spares Ltd
            Nov 12 '17 at 9:44











          • You can get the example from here magento.stackexchange.com/a/41280/21339

            – Arunendra
            Nov 12 '17 at 10:03















          0














          Yes this can be done by using the URL Rewrite Management option in Magento Admin.



          In Magento Admin:



          1. Select from menu bar Catalog > URL Rewrite Management.

          2. Click on the Add URLRewrite button.

          3. Select the category you want to redirect from.

          4. Make a note of the ID Path (e.g.: category/10) and the Request Path (e.g.: flowerpots.html)

          5. Repeat steps 1 & 2, but this time select Custom from the Create Urlrewrite dropdown box.


          6. Enter the values in each field:




            • ID Path (from step 4)


            • Request Path (from step 4)


            • Target Path - enter path of your product (or the page you want to redirect to).


              • example 1: for product url www.myswebsite.co.uk/flowers.html enter flowers.html.


              • example 2: for product url www.myswebsite.co.uk/sale/garden/flowers.html enter sale/garden/flowers.html.



          7. Select Redirect Permanent (301) from the Redirect dropdown.


          8. Save.

          Now when the category is clicked on on your website it will re-direct to the product. For more see here.



          OR



          You can can do this by creating observer controller_action_predispatch_catalog_category_view






          share|improve this answer























          • Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

            – Stove Spares Ltd
            Nov 12 '17 at 9:21











          • Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

            – Stove Spares Ltd
            Nov 12 '17 at 9:38












          • If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

            – Arunendra
            Nov 12 '17 at 9:43











          • Hello, how do I create an observer? I've never worked with that before?

            – Stove Spares Ltd
            Nov 12 '17 at 9:44











          • You can get the example from here magento.stackexchange.com/a/41280/21339

            – Arunendra
            Nov 12 '17 at 10:03













          0












          0








          0







          Yes this can be done by using the URL Rewrite Management option in Magento Admin.



          In Magento Admin:



          1. Select from menu bar Catalog > URL Rewrite Management.

          2. Click on the Add URLRewrite button.

          3. Select the category you want to redirect from.

          4. Make a note of the ID Path (e.g.: category/10) and the Request Path (e.g.: flowerpots.html)

          5. Repeat steps 1 & 2, but this time select Custom from the Create Urlrewrite dropdown box.


          6. Enter the values in each field:




            • ID Path (from step 4)


            • Request Path (from step 4)


            • Target Path - enter path of your product (or the page you want to redirect to).


              • example 1: for product url www.myswebsite.co.uk/flowers.html enter flowers.html.


              • example 2: for product url www.myswebsite.co.uk/sale/garden/flowers.html enter sale/garden/flowers.html.



          7. Select Redirect Permanent (301) from the Redirect dropdown.


          8. Save.

          Now when the category is clicked on on your website it will re-direct to the product. For more see here.



          OR



          You can can do this by creating observer controller_action_predispatch_catalog_category_view






          share|improve this answer













          Yes this can be done by using the URL Rewrite Management option in Magento Admin.



          In Magento Admin:



          1. Select from menu bar Catalog > URL Rewrite Management.

          2. Click on the Add URLRewrite button.

          3. Select the category you want to redirect from.

          4. Make a note of the ID Path (e.g.: category/10) and the Request Path (e.g.: flowerpots.html)

          5. Repeat steps 1 & 2, but this time select Custom from the Create Urlrewrite dropdown box.


          6. Enter the values in each field:




            • ID Path (from step 4)


            • Request Path (from step 4)


            • Target Path - enter path of your product (or the page you want to redirect to).


              • example 1: for product url www.myswebsite.co.uk/flowers.html enter flowers.html.


              • example 2: for product url www.myswebsite.co.uk/sale/garden/flowers.html enter sale/garden/flowers.html.



          7. Select Redirect Permanent (301) from the Redirect dropdown.


          8. Save.

          Now when the category is clicked on on your website it will re-direct to the product. For more see here.



          OR



          You can can do this by creating observer controller_action_predispatch_catalog_category_view







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 12 '17 at 7:08









          ArunendraArunendra

          6,22831842




          6,22831842












          • Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

            – Stove Spares Ltd
            Nov 12 '17 at 9:21











          • Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

            – Stove Spares Ltd
            Nov 12 '17 at 9:38












          • If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

            – Arunendra
            Nov 12 '17 at 9:43











          • Hello, how do I create an observer? I've never worked with that before?

            – Stove Spares Ltd
            Nov 12 '17 at 9:44











          • You can get the example from here magento.stackexchange.com/a/41280/21339

            – Arunendra
            Nov 12 '17 at 10:03

















          • Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

            – Stove Spares Ltd
            Nov 12 '17 at 9:21











          • Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

            – Stove Spares Ltd
            Nov 12 '17 at 9:38












          • If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

            – Arunendra
            Nov 12 '17 at 9:43











          • Hello, how do I create an observer? I've never worked with that before?

            – Stove Spares Ltd
            Nov 12 '17 at 9:44











          • You can get the example from here magento.stackexchange.com/a/41280/21339

            – Arunendra
            Nov 12 '17 at 10:03
















          Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

          – Stove Spares Ltd
          Nov 12 '17 at 9:21





          Thank you for the detailed answer. Unfortunately it still doesn't go directly into the product page it just takes you to the original category page? Any ideas?

          – Stove Spares Ltd
          Nov 12 '17 at 9:21













          Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

          – Stove Spares Ltd
          Nov 12 '17 at 9:38






          Ok. Redirect works until a re-index and cache clear is done. Once this is done and I go back into the custom URL rewrite it reverts the target patch to category/id/484 or what ever it was before

          – Stove Spares Ltd
          Nov 12 '17 at 9:38














          If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

          – Arunendra
          Nov 12 '17 at 9:43





          If, its not worked then try by creating a module with mentioned observer. Please check your rewrite rule again and make sure your created rule still exists there.

          – Arunendra
          Nov 12 '17 at 9:43













          Hello, how do I create an observer? I've never worked with that before?

          – Stove Spares Ltd
          Nov 12 '17 at 9:44





          Hello, how do I create an observer? I've never worked with that before?

          – Stove Spares Ltd
          Nov 12 '17 at 9:44













          You can get the example from here magento.stackexchange.com/a/41280/21339

          – Arunendra
          Nov 12 '17 at 10:03





          You can get the example from here magento.stackexchange.com/a/41280/21339

          – Arunendra
          Nov 12 '17 at 10:03

















          draft saved

          draft discarded
















































          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%2f201071%2fcategory-menu-linking-direct-to-product%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

          Sum ergo cogito? 1 nng

          三茅街道4182Guuntc Dn precexpngmageondP