What is the consequence of the attribute showInStore being set to 0?

During a code review of a module MyCompany_PaymentCurrencies you see a configuration field declared in the file etc/adminhtml/system.xml:

What is the consequence of the attribute showInStore being set to 0?
A. The field value will not be accessible on the store front by calling ScopeConfigInterface::getValue() with a $scopeType argument of ‘store’.
B. The input field will not be visible if a store view scope is selected in the system configuration
C. The input field will only be visible if a website’s default store scope is selected in the system configuration
D. The input field will be disabled if a store view scope is selected in the system configuration

Download Printable PDF. VALID exam to help you PASS.

3 thoughts on “What is the consequence of the attribute showInStore being set to 0?

  1. Answer: B
    We Check the case to create a field:
    showInDefault=”1″ : It is show in the Default Config only.
    showInWebsite=”1″ : It is show in the Main Website
    showInStore=”1″ : It is show in the Default Store View
    canRestore=”1″ : It is show in the Check Box “Use system value”
    Value =0 then it will hide accordingly.

    1
    1

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.