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

Delivery Time should be dropdown #80

Open
johnny-longneck opened this issue May 27, 2017 · 2 comments
Open

Delivery Time should be dropdown #80

johnny-longneck opened this issue May 27, 2017 · 2 comments
Assignees

Comments

@johnny-longneck
Copy link

General

  • Magento version: 2.1.6
  • PHP version: 7.0.18

Issue description

Delivery time is set by default to "2-3 Tage". If you have a german and english store view, you will have to create a store view product version to override this. That is not practical. Making the delivery time attribute a dropdown with default "2-3" would solve this issue.

@amenk
Copy link

amenk commented Apr 3, 2019

If it is a dropdown, you also have to manage translations for all possible delivery times as well.

But there does not seem to be a better solution, as we might also write "1 Woche" or so -- so making it a dropdown is probably the most practical solution.

@johnny-longneck want to make a pull request?

or shall we?

@maintainers: do you see a change this would be merged?

@amenk
Copy link

amenk commented Apr 25, 2019

Workaround:

  • In eav_attribute set backend type = int; frontend input = select

  • Include on catalog_product_view / catalog_category_view:

      <referenceBlock name="product.info.delivery">
          <arguments>
              <argument name="at_type" xsi:type="string">text</argument>
          </arguments>
      </referenceBlock>
    

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants