1

Is there a way for me to place text between the custom options on my product page? I'd like to separate each option (size, message, text field) with some information relating to the option beneath each piece of information.

asked Apr 20, 2016 at 12:36

2 Answers 2

0

This can be done in two ways:

  1. Editing the templates of Magento_Catalog module (module-catalog/view/frontend/templates/product/view/options/type/select.phtml etc.)

  2. Or creating a module that will add this functionality to Magento2.

answered Apr 20, 2016 at 14:53
1
  • Any free extension for custom options Commented Aug 23, 2016 at 13:41
0

You need to override below files to change in product custom option (base on your option type):

\magento2\vendor\magento\module-catalog\view\frontend\templates\product\view\options\type\select.phtml \magento2\vendor\magento\module-catalog\view\frontend\templates\product\view\options\type\date.phtml \magento2\vendor\magento\module-catalog\view\frontend\templates\product\view\options\type\file.phtml \magento2\vendor\magento\module-catalog\view\frontend\templates\product\view\options\type\text.phtml

You can override this by two way:

1) Copy this file to your custom theme (with same file path).
2) Copy this file and catalog_product_view.xml to your new extension.
answered Apr 21, 2016 at 6:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.