Show Delivery Time over or under Availability on Products Page





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I am completely new to magento.
I use Magento 2.3 and I created an attribute Lieferzeit under Stores->Attributes->Product and set visibility to yes.



Further, I set the Attribute to a group in Stores-Attributes-> Attribute Set.



What is the next step here?
I am confused.










share|improve this question









New contributor




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



























    1















    I am completely new to magento.
    I use Magento 2.3 and I created an attribute Lieferzeit under Stores->Attributes->Product and set visibility to yes.



    Further, I set the Attribute to a group in Stores-Attributes-> Attribute Set.



    What is the next step here?
    I am confused.










    share|improve this question









    New contributor




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























      1












      1








      1








      I am completely new to magento.
      I use Magento 2.3 and I created an attribute Lieferzeit under Stores->Attributes->Product and set visibility to yes.



      Further, I set the Attribute to a group in Stores-Attributes-> Attribute Set.



      What is the next step here?
      I am confused.










      share|improve this question









      New contributor




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












      I am completely new to magento.
      I use Magento 2.3 and I created an attribute Lieferzeit under Stores->Attributes->Product and set visibility to yes.



      Further, I set the Attribute to a group in Stores-Attributes-> Attribute Set.



      What is the next step here?
      I am confused.







      magento2.3 custom-attributes






      share|improve this question









      New contributor




      Ken 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




      Ken 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








      edited yesterday









      Amit Bera

      59.8k1676178




      59.8k1676178






      New contributor




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









      asked 2 days ago









      KenKen

      82




      82




      New contributor




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





      New contributor





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






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






















          2 Answers
          2






          active

          oldest

          votes


















          0














          If you want to show your attribute above/below stock availability, You need to copy:




          magento2Root/vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml




          to




          app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/view/type/default.phtml




          In the above file you already have $_product object.



          at the end of file, put below code to get your attribute:



          <?php echo $_product->getAttributeText('lieferzeit'); ?>
          -------OR------
          <?php echo $_product->getLieferzeit(); ?>
          -------OR------
          <?php echo $_product->getData('lieferzeit'); ?>


          Note:




          • Use any one code from above

          • I am assuming your attribute code is lieferzeit.






          share|improve this answer
























          • Where do i set Visible on Catalog Pages on Storefront? in Admin section?

            – Ken
            17 hours ago



















          0














          Hello and thank you for your answer. I copied the default.phtml in the folder and added <?php echo $_product->getAttributeText('lieferzeit'); ?>
          at the very bottom. Flushed Cache but it doesnt appear in frontend. I am using the Porto Theme if this is important.






          share|improve this answer








          New contributor




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





















          • Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

            – Ken
            yesterday













          • You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

            – Pawan
            22 hours ago











          • Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

            – Pawan
            22 hours ago












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


          }
          });






          Ken 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%2f269059%2fshow-delivery-time-over-or-under-availability-on-products-page%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          If you want to show your attribute above/below stock availability, You need to copy:




          magento2Root/vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml




          to




          app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/view/type/default.phtml




          In the above file you already have $_product object.



          at the end of file, put below code to get your attribute:



          <?php echo $_product->getAttributeText('lieferzeit'); ?>
          -------OR------
          <?php echo $_product->getLieferzeit(); ?>
          -------OR------
          <?php echo $_product->getData('lieferzeit'); ?>


          Note:




          • Use any one code from above

          • I am assuming your attribute code is lieferzeit.






          share|improve this answer
























          • Where do i set Visible on Catalog Pages on Storefront? in Admin section?

            – Ken
            17 hours ago
















          0














          If you want to show your attribute above/below stock availability, You need to copy:




          magento2Root/vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml




          to




          app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/view/type/default.phtml




          In the above file you already have $_product object.



          at the end of file, put below code to get your attribute:



          <?php echo $_product->getAttributeText('lieferzeit'); ?>
          -------OR------
          <?php echo $_product->getLieferzeit(); ?>
          -------OR------
          <?php echo $_product->getData('lieferzeit'); ?>


          Note:




          • Use any one code from above

          • I am assuming your attribute code is lieferzeit.






          share|improve this answer
























          • Where do i set Visible on Catalog Pages on Storefront? in Admin section?

            – Ken
            17 hours ago














          0












          0








          0







          If you want to show your attribute above/below stock availability, You need to copy:




          magento2Root/vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml




          to




          app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/view/type/default.phtml




          In the above file you already have $_product object.



          at the end of file, put below code to get your attribute:



          <?php echo $_product->getAttributeText('lieferzeit'); ?>
          -------OR------
          <?php echo $_product->getLieferzeit(); ?>
          -------OR------
          <?php echo $_product->getData('lieferzeit'); ?>


          Note:




          • Use any one code from above

          • I am assuming your attribute code is lieferzeit.






          share|improve this answer













          If you want to show your attribute above/below stock availability, You need to copy:




          magento2Root/vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml




          to




          app/design/frontend/{Package}/{theme}/Magento_Catalog/templates/product/view/type/default.phtml




          In the above file you already have $_product object.



          at the end of file, put below code to get your attribute:



          <?php echo $_product->getAttributeText('lieferzeit'); ?>
          -------OR------
          <?php echo $_product->getLieferzeit(); ?>
          -------OR------
          <?php echo $_product->getData('lieferzeit'); ?>


          Note:




          • Use any one code from above

          • I am assuming your attribute code is lieferzeit.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          PawanPawan

          2,0912618




          2,0912618













          • Where do i set Visible on Catalog Pages on Storefront? in Admin section?

            – Ken
            17 hours ago



















          • Where do i set Visible on Catalog Pages on Storefront? in Admin section?

            – Ken
            17 hours ago

















          Where do i set Visible on Catalog Pages on Storefront? in Admin section?

          – Ken
          17 hours ago





          Where do i set Visible on Catalog Pages on Storefront? in Admin section?

          – Ken
          17 hours ago













          0














          Hello and thank you for your answer. I copied the default.phtml in the folder and added <?php echo $_product->getAttributeText('lieferzeit'); ?>
          at the very bottom. Flushed Cache but it doesnt appear in frontend. I am using the Porto Theme if this is important.






          share|improve this answer








          New contributor




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





















          • Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

            – Ken
            yesterday













          • You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

            – Pawan
            22 hours ago











          • Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

            – Pawan
            22 hours ago
















          0














          Hello and thank you for your answer. I copied the default.phtml in the folder and added <?php echo $_product->getAttributeText('lieferzeit'); ?>
          at the very bottom. Flushed Cache but it doesnt appear in frontend. I am using the Porto Theme if this is important.






          share|improve this answer








          New contributor




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





















          • Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

            – Ken
            yesterday













          • You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

            – Pawan
            22 hours ago











          • Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

            – Pawan
            22 hours ago














          0












          0








          0







          Hello and thank you for your answer. I copied the default.phtml in the folder and added <?php echo $_product->getAttributeText('lieferzeit'); ?>
          at the very bottom. Flushed Cache but it doesnt appear in frontend. I am using the Porto Theme if this is important.






          share|improve this answer








          New contributor




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










          Hello and thank you for your answer. I copied the default.phtml in the folder and added <?php echo $_product->getAttributeText('lieferzeit'); ?>
          at the very bottom. Flushed Cache but it doesnt appear in frontend. I am using the Porto Theme if this is important.







          share|improve this answer








          New contributor




          Ken 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 answer



          share|improve this answer






          New contributor




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









          answered yesterday









          KenKen

          82




          82




          New contributor




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





          New contributor





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






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













          • Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

            – Ken
            yesterday













          • You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

            – Pawan
            22 hours ago











          • Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

            – Pawan
            22 hours ago



















          • Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

            – Ken
            yesterday













          • You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

            – Pawan
            22 hours ago











          • Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

            – Pawan
            22 hours ago

















          Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

          – Ken
          yesterday







          Okay, now i used another code and it worked. Thank you so far. But now i got a new tab with this informations shown. pixelmonkeys.de/screenshot.png

          – Ken
          yesterday















          You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

          – Pawan
          22 hours ago





          You need to set Visible on Catalog Pages on Storefront->` NO`, if you don't want to show on front tab

          – Pawan
          22 hours ago













          Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

          – Pawan
          22 hours ago





          Your answer should be comment for given answer. if you need any clarification, put a comment to answer!

          – Pawan
          22 hours ago










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










          draft saved

          draft discarded


















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













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












          Ken 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%2f269059%2fshow-delivery-time-over-or-under-availability-on-products-page%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

          What other Star Trek series did the main TNG cast show up in?

          Berlina muro

          Berlina aerponto