Certificated magento

Q7.14) How does working with categories differ if the flat catalog is enabled on a model level?

Q7.14) How does working with categories differ if the flat catalog is enabled on  a model level?

- the loading of attributes differs - in flat table mode the category attributes are also stored in the flat table

Read more

Q7.16)Which methods exist to read category children and how do they differ?

Q7.16)Which methods exist to read category children and how do they differ?

- getChildren() returns a comma separeted string - getChildrenCategories() returns an array  

Read more

7.7)Identify how catalog price rules are implemented in Magento

7.7)Identify how catalog price rules are implemented in Magento

After discovering how Magento works with categories, I continued to research on Catalog Rules and found them very interesting. As you may know, Magento has two types of price rules: catalog and shopping cart price rules. While shopping cart price rules are applied in the shopping cart, catalog rules are applied on products...

Read more

7.8) Flat catalog product

7.8) Flat catalog product

There are two types of storing a product when loading collection in Magento: EAV and Flat. The Flat has the higher performance than EAV while EAV is more dynamical than Flat. This part will talk about flat catalog product and focus on 3 main following parts: •Enable flat catalog product •Add a custom field...

Read more

Q7.18) Which factors are used by the Mage_Tax module to apply the correct tax rate (or rates) to a product price?

Q7.18) Which factors are used by the Mage_Tax module to apply the correct  tax rate (or rates) to a product price?

 - Mage_Tax_Model_Calculation * country_id (->getCountryId()) * region_id (->getRegionId()) * postcode (->getPostcode()) * product_class_id (->getProductClassId()) * customer_class_id (->getCustomerClassId()) * store (->getStore())

Read more

Q.19) How can attributes with custom source models be integrated into layered navigation filtering?

Q.19) How can attributes with custom source models be integrated into  layered navigation filtering?

http://goweb.vn/kien-thuc-web-vi/thiet-ke-web/79-layered-navigation-of-magento-971.html

Read more

7.9) Layered Navigation of magento

7.9) Layered Navigation of magento

In this session, I’ll write about layered navigation – the very important part of each e-commerce website. The layered navigation helps your customers easily find products with the attribute(s) that they need. 4 main following parts will be covered: •Add attribute to layered navigation •Add the...

Read more

Q7.20) Which classes are responsible for rendering the layered navigation?

Q7.20) Which classes are responsible for rendering the layered navigation?

Class: Mage_Catalog_Model_Layer Class: Mage_Catalog_Model_Layer_State: the state of layered navigation Mage_Catalog_Block_Layer_View: the block to show layered navigation in frontend

Read more

Q7.21) Which indexes are used for the layered navigation

Q7.21) Which indexes are used for the layered navigation

 - Product Attributes, (Product Price?) Magento uses an index table to filter and count the result for each filter item. The index table for the general attribute is catalog/product_index_eav For price attribute, it is table catalog/product_index_price

Read more

7.10) Custom Index Magento

7.10) Custom Index Magento

We know that indexer is used to index EAV database (or other database models) to Flat database. Thus it makes users more easily query database and improve performance. This part will guide you how to add a custom indexer. Three main parts covered are also three main steps that you may follow. I-Register indexer with...

Read more

Q7.22) Which steps are needed to integrate a custom indexer into the framework offered by the Mage_Index module?

Q7.22) Which steps are needed to integrate a custom indexer into the  framework offered by the Mage_Index module?

http://goweb.vn/kien-thuc-web-vi/thiet-ke-web/710-custom-index-magento-974.html

Read more

Q7.23)How are custom product options stored on quote and order items?

Q7.23)How are custom product options stored on quote and order items?

- quote: sales_flat_quote_item_option - order: sales_flat_order_item

Read more

Q7.24) How can you specify custom product options on-the-fly on quote items?

Q7.24) How can you specify custom product options on-the-fly on quote items?

http://stackoverflow.com/questions/10910717/add-a-custom-option-to-a-quote-item-product-in-the-cart

Read more

8.0) Describe how to modify and effectively customize the quote object, the quote item object, and the address object

8.0) Describe how to modify and effectively customize the quote object, the quote item  object, and the address object

Part: Quote We have gone through 7 topics of Magento Certificate Preparation Material. We tried to provide you with useful knowledge and information as much as possible. Let’s start the eighth topic – Checkout. Checkout plays an important role on every e-commerce site. It’s the core helping customer...

Read more

Q8.0)What is the quote model used for in Magento?

Q8.0)What is the quote model used for in Magento?

•assignCustomer: assign customer model object data to the quote •setBillingAddress/getBillingAddress: set and get billing address for the quote •setShippingAddress/getShippingAddress: set and get shipping address for the quote •addItem/removeItem: add and remove item from the quote •collectTotals:...

Read more

Q8.1) What is the shopping cart model used for in Magento?

Q8.1) What is the shopping cart model used for in Magento?

store information of quote (Items, addresses, totals)

Read more

Q8.2) How does Magento store information about the shopping cart?

Q8.2) How does Magento store information about the shopping cart?

http://goweb.vn/kien-thuc-web-vi/thiet-ke-web/80-describe-how-to-modify-and-effectively-customize-the-quot...-980.html

Read more

Q8.4) What is the difference between shipping and billing address objects in Magento? How is each used in the quote object?

Q8.4) What is the difference between shipping and billing address objects in  Magento? How is each used in the quote object?

 Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress() Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()

Read more

8.1) Total models

8.1) Total models

Our lesson now will help you dive deeper into the world of Magento, showing how to register custom total model with the system as well as method to write your custom total model. As you may know, Magento uses a set of total models to collect the shopping cart total (calculate shipping fee, discount, tax, grand...

Read more

Q8.11)What are total models responsible for in Magento?

Q8.11)What are total models responsible for in Magento?

 quote, invoice, creditmemo   - discount - grand total - shipping - subtotal - tax - nominal - custbalance   - freeshipping   dispatches event “sales_quote_address_discount_item” in collect method of Mage_Sales_Model_Quote_Address_Total_* ————-   Mage/Sales/Model/Quote/Address/Total/Collector.php getCollectors()...

Read more

Q8.12) How you can customize total models?

Q8.12) How you can customize total models?

http://goweb.vn/kien-thuc-web-vi/thiet-ke-web/81-total-models-992.html

Read more

8.2) Describe how shopping cart price rules work and how they can be customized

8.2) Describe how shopping cart price rules work and how they can be customized

Different from catalog cart rules, shopping cart rules define the promotion for customer only when customer checks out product. They can be specified by either coupon code or others. However, have you known how rules are applied in shopping cart? If not, this part will certainly helpful for you. I-Discount total model   Magento...

Read more

8.3) Shipping methods in Magento

8.3) Shipping methods in Magento

In order to help store owner easily ship products to customers after they purchase in Shopping cart site, Magento offers Shipping caculation platform to add more shipping methods. Thus, to complete the checkout process on a store, I think it is also necessary to understand Magento calculate shipping well.  I- Magento...

Read more

8.4)Payment Methods

8.4)Payment Methods

Once customer details are filled in and the chosen shipping method, the payment method forms will be shown for customer to select. After a customer selects a payment method, the checkout will progress through the payment method’s function It can be the request via an API, authorization or offline payment. This part...

Read more

Q8.22) How does Magento calculate shipping rates?

Q8.22) How does Magento calculate shipping rates?

class Mage_Shipping_Model_Carrier_Flatrate     extends Mage_Shipping_Model_Carrier_Abstract   public function collectRates(Mage_Shipping_Model_Rate_Request $request)

Read more