Which of the following methods will force an EAV resource collection model to include an attribute in its result set?
A. addAttributeToSelect ($attribute);
B. getResource ( ) ->addAttribute($attribute);
C. addFieldToSelect ($attribute);
D. getSelect ( )->from ( ' ', $attribute);
E. addAttributeToCollection ($attribute);
Which of the following lines includes a payment method object?
A. $quote->getShippingAddress ( )>setPaymentMethod(isset ($data['method']) ? $data['method'] : null); inside Mage_Checkout_Model_Type_Onepage
B. .public function setPayment(Mage_Sales_Model_Quote_Payment $payment) inside Mage_Sales_Model_Quote
C. $method = $this->getMethodInstance ( ); inside Mage_Sales_Model_Quote_Payment
D. $instance->setInfoInstance($this); inside Mage_Payment_Model_Info
You want to replace the instance of Mage_Customer_Helper_Address returned by Mage::helper(`customer/address') with an instance of your own class.
Which one of the following xpaths would accomplish that?
A. global/ rewrite/ helpers/ rewrite/address
B. global/customer/helpers/address
C. global/helpers/ rewrite/ customer address
D. global/helpers/rewrite/customer/address
E. global/helpers/customer/rewrite/address
What is the difference between the base_grand_total and grand_total attributes of the order?
A. base_grand_total is a grand total before tax is applied; grand_total is the grand total after tax is applied.
B. base_grand_total is the grand total at the moment of order submission; grand_total is the grand total at the moment of order closing.
C. base_grand_total is the grand total in the currency of the store where the order was submitted; grand_total is in US dollars always.
D. base_grand_total is in a base currency and grand_total is in the currency of the website where the order was submitted.
Which of the following payment methods' payment actions creates an invoice during the "place order" step?
A. Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE
B. Mage_Payment_Model_Method_Abstract::ACTION_CAPTURE
C. Mage_Payment_Model_Method_Abstract::ACTION_AUTHORIZE_CAPTURE
D. Mage_Payment_Model_Method_Abstract::ACTION_INVOICE
Which one of the following code fragments will create a new table in Magento?
A. B. C. D.
Which table is used for calculating a new increment ID for an order?
A. sales_flat_order_increment
B. eav_entity_store
C. core_increment
D. core_config_data
What is the purpose of the configuration XML flag stored in g1obal/resource/connection/type/pdomysql/compatibleMode? (Choose TWO.)
A. If set to 0, then MySQL-specific SQL is used.
B. If set to 0, then only standard-compliant SQL is used.
C. If set to 0, then data structures compatible with OpenCommence Language are exported when using Data flow.
D. If set to 0, then all data structures are exported when using Dataflow.
E. If set to 1, then MySQL-specific SQL is used.
F. If set to 1, then only standard-compliant SQL is used.
G. If set to 1, then data structures compatible with OpenCommence Language are exported when using Data flow.
You are creating a custom CMS module named Achme_Cms.
Which one of the following is the correct XML required to override a controller from the Mage_Cms module in your Achme_Cms module?
A. B. C. D.
Which one of the following controller classes could respond to this URL?: http://example.com/modulename/controller/index
A. Namespace_ModuleName_IndexControllet
B. Namespace_ModuleName_Controller_ControllecInclex
C. Namespace_ModuleName_Controller_IndexController
D. Namespace_Modulename_ControllerController