Skip to content
This repository was archived by the owner on Jul 25, 2023. It is now read-only.

Commit 8d44a83

Browse files
committed
Merge remote-tracking branch 'origin/gh-pages'
2 parents 1fb2c0b + 829a408 commit 8d44a83

13 files changed

+32
-60
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
_site
22
.idea
3+
.jekyll-metadata

adminhtml.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,6 @@ As covered in [the basics](/basics.html), there are three code pools
305305
- Local customisations.
306306
307307
<ul class="navigation">
308-
<li class="prev"><a href="/eav.html">&larr; EAV</a>
309-
<li class="next"><a href="/catalog.html">Catalog &rarr;</a>
308+
<li class="prev"><a href="/eav.html">&larr; EAV</a></li>
309+
<li class="next"><a href="/catalog.html">Catalog &rarr;</a></li>
310310
</ul>

advanced-features.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,6 @@ Internally, the version 2 API handler uses the same API method configuration as
8181
section of the config, e.g. `catalogProduct` to find the method resource and then calls the `{resource}.{method_suffix}` API version 1 method.
8282

8383
<ul class="navigation">
84-
<li class="prev"><a href="/sales.html">&larr; Sales</a>
85-
<li class="next"><a href="/">Home &rarr;</a>
84+
<li class="prev"><a href="/sales.html">&larr; Sales</a></li>
85+
<li class="next"><a href="/">Home &rarr;</a></li>
8686
</ul>
87-
88-
89-
90-
91-
92-
93-
94-

basics.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,6 @@ With sub-directories, we strengthen name-recognition for the primary domain. And
374374
See even more info in [Belvg's post](http://blog.belvg.com/magento-certified-developer-exam-internationalization.html) on the subject.
375375

376376
<ul class="navigation">
377-
<li class="prev"><a href="/">&larr; Home</a>
378-
<li class="next"><a href="/request-flow.html">Request Flow &rarr;</a>
377+
<li class="prev"><a href="/">&larr; Home</a></li>
378+
<li class="next"><a href="/request-flow.html">Request Flow &rarr;</a></li>
379379
</ul>

catalog.md

+5-10
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Downloadable and Bundle products have extra tables in the database, meanwhile th
3535

3636
### Custom Product Type
3737

38-
To create a product type that extends one of the built-in product types, the corresponding product type model should be extended. Otherwise the new product type should extend the `Mage_Catalog_Model_Product_Type_Abstract` class.
38+
To create a product type that extends one of the built-in product types, the corresponding product type model should be extended. Otherwise the new product type should extend the `Mage_Catalog_Model_Product_Type_Abstract` class.
3939

4040
An entry in the module's `config.xml` is also required:
4141

@@ -64,7 +64,7 @@ When dealing with a single product, the price is always calculated on the fly.
6464

6565
Some product types deal with it differently. In which case they extend this class and implement their own logic. For example, the configurable product overwrites `getFinalPrice()` and adds additional logic. This custom model can then be specified in `config.xml` with a `<price_model>` tag.
6666

67-
Product collections, however, use the price index to retrieve pre-calculated prices, eliminating the need to calculate it for each product.
67+
Product collections, however, use the price index to retrieve pre-calculated prices, eliminating the need to calculate it for each product.
6868

6969
Final price can be adjusted by the observers of the `catalog_product_get_final_price` event. By default, only the `Mage_CatalogRule` module observes this event.
7070

@@ -128,7 +128,7 @@ N.B. If flat catalog is enabled, the only child categories returned will be ones
128128

129129
### Catalog Price Rules
130130

131-
Catalog price rules apply discounts to products based on the date, product, website and customer group.
131+
Catalog price rules apply discounts to products based on the date, product, website and customer group.
132132

133133
When `getFinalPrice()` is called on a product, the event `catalog_product_get_final_price` is fired. This is observed by `Mage_CatalogRule_Model_Observer` which will then look for any catalog price rule that applies to the product. If applicable, it then looks at the database price table and writes the price back to the product model as a Varien data field `final_price`.
134134

@@ -154,11 +154,6 @@ The `Mage_Index` module provides the framework with which custom indexes can be
154154

155155

156156
<ul class="navigation">
157-
<li class="prev"><a href="/eav.html">&larr; EAV</a>
158-
<li class="next"><a href="/checkout.html">Checkout &rarr;</a>
157+
<li class="prev"><a href="/eav.html">&larr; EAV</a></li>
158+
<li class="next"><a href="/checkout.html">Checkout &rarr;</a></li>
159159
</ul>
160-
161-
162-
163-
164-

checkout.md

+5-16
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The priority of a total model execution can be customised using the `<before>` a
8989
4. Tax
9090
5. Grand Total
9191

92-
This process is managed by the `Mage_Sales_Model_Quote_Address_Total_Collector` model which is called from the Address using the `collectTotals()` method. This method is called whenever the quote is updated, e.g. at each stage of the checkout. This method also dispatches the `_collect_totals_before` and `_collect_totals_after` events.
92+
This process is managed by the `Mage_Sales_Model_Quote_Address_Total_Collector` model which is called from the Address using the `collectTotals()` method. This method is called whenever the quote is updated, e.g. at each stage of the checkout. This method also dispatches the `_collect_totals_before` and `_collect_totals_after` events.
9393

9494
### Payment Authorisation and Capturing
9595

@@ -184,23 +184,12 @@ Payment methods modules typically include a few blocks to display payment forms
184184
Billing agreements are built in to Magento. Payment methods set the billing agreement ID on the payment object with:
185185

186186
```php
187-
<?php
188-
$order->getPayment()->setBillingAgreementData($data);
187+
<?php
188+
$order->getPayment()->setBillingAgreementData($data);
189189
?>
190190
```
191191

192192
<ul class="navigation">
193-
<li class="prev"><a href="/catalog.html">&larr; Catalog</a>
194-
<li class="next"><a href="/sales.html">Sales &rarr;</a>
193+
<li class="prev"><a href="/catalog.html">&larr; Catalog</a></li>
194+
<li class="next"><a href="/sales.html">Sales &rarr;</a></li>
195195
</ul>
196-
197-
198-
199-
200-
201-
202-
203-
204-
205-
206-

databases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,6 @@ Magento defines a module rollback procedure when the `config.xml` module version
237237
Magento abstracts database engine logic by using the `Varien_Db_Adapter_Interface`. Database engine classes implement this interface, which makes it easy to replace one engine class with another without having to rewrite all models that use the database. The actual RDBMS used is defined in the connection configuration using the `<type>` field, e.g. `<type>pdo_mysql</type>`.
238238

239239
<ul class="navigation">
240-
<li class="prev"><a href="/rendering.html">&larr; Rendering</a>
240+
<li class="prev"><a href="/rendering.html">&larr; Rendering</a></li>
241241
<li class="next"><a href="/eav.html">EAV &rarr;</a></li>
242242
</ul>

deploy.sh

-2
This file was deleted.

eav.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ There is a different flat table for each store, each one contains a different st
214214

215215

216216
<ul class="navigation">
217-
<li class="prev"><a href="/databases.html">&larr; Databases</a>
218-
<li class="next"><a href="/adminhtml.html">Adminhtml &rarr;</a>
217+
<li class="prev"><a href="/databases.html">&larr; Databases</a></li>
218+
<li class="next"><a href="/adminhtml.html">Adminhtml &rarr;</a></li>
219219
</ul>
220-

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ <h2>Chapters</h2>
1616
{% if page.chapter == chapter %}
1717
<li>
1818
<h3><a href="{{ page.url }}">{{ page.title }}</a></h3>
19-
<p>{{ page.meta-description %}}
19+
<p>{{ page.meta-description }}
2020
</li>
2121
{% endif %}
2222
{% endfor %}
@@ -25,4 +25,4 @@ <h3><a href="{{ page.url }}">{{ page.title }}</a></h3>
2525

2626
<h2>Study Guide Questions</h2>
2727
<p>Alternatively, use the <a href="/questions.html">Study Guide Questions</a> index.</p>
28-
</div>
28+
</div>

rendering.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ JavaScript and CSS assets are handled in the `Mage_Page_Block_Html_head` block.
133133
When merging CSS, a callback function on `Mage_Core_Model_Design_Package` is called to update any `@import` or `url()` directives with the correct URLs.
134134

135135
<ul class="navigation">
136-
<li class="prev"><a href="/request-flow.html">&larr; Request Flow</a>
137-
<li class="next"><a href="/databases.html">Databases &rarr;</a>
136+
<li class="prev"><a href="/request-flow.html">&larr; Request Flow</a></li>
137+
<li class="next"><a href="/databases.html">Databases &rarr;</a></li>
138138
</ul>

request-flow.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,6 @@ There are two types of redirects that can be used in a controller action.
229229
- This redirects internally within the application to another controller and/or action.
230230

231231
<ul class="navigation">
232-
<li class="prev"><a href="/basics.html">&larr; Basics</a>
233-
<li class="next"><a href="/rendering.html">Rendering &rarr;</a>
232+
<li class="prev"><a href="/basics.html">&larr; Basics</a></li>
233+
<li class="next"><a href="/rendering.html">Rendering &rarr;</a></li>
234234
</ul>
235-
236-

sales.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ This is the place where the admin form will fire its request to. Its job is to
6262

6363
This controller allows any items to be added to the order (not just saleable items).
6464

65-
The main action within this controller is `loadBlockAction`. It is hit via AJAX every time a field is blurred on the admin area.
65+
The main action within this controller is `loadBlockAction`. It is hit via AJAX every time a field is blurred on the admin area.
6666

6767
### `Mage_Adminhtml_Model_Sales_Order_Create`
6868

@@ -132,11 +132,11 @@ This is the model which contains all of the order detail. It is the location whe
132132
Of interest here is:
133133

134134
- **Item**
135-
- Contains the logic for each individual item in the invoice.
135+
- Contains the logic for each individual item in the invoice.
136136
- **Comment**
137137
- Can be applied to an invoice
138138
- **Totals/***
139-
- A number of totals which are related to an invoice. Things like subtotal, tax, grand total, etc.
139+
- A number of totals which are related to an invoice. Things like subtotal, tax, grand total, etc.
140140
- **Api**
141141
- Api Access to invoices, with the ability to create new invoices, capture invoices, cancel invoices etc.
142142

@@ -188,7 +188,7 @@ Each of the partial operations has its own models and tables to store the data,
188188

189189
Magento orders can be cancelled until all items have been invoiced, e.g. during the pending or processing state. This automatically cancels payment and order items (which just set cancelled tax amounts on the item). Invoices can be cancelled, returning order totals to pre-invoice state. Same goes for credit memos. Only shipments cannot be cancelled.
190190

191-
In most cases when operations are cancelled, tax amounts are returned to the way they were before the operation (just like other price data). In case of an order, all the cancelled amounts are set to total invoices (whatever has not been invoiced yet is cancelled).
191+
In most cases when operations are cancelled, tax amounts are returned to the way they were before the operation (just like other price data). In case of an order, all the cancelled amounts are set to total invoices (whatever has not been invoiced yet is cancelled).
192192

193193
Invoices and credit memos cannot be cancelled from the interface, even though the functionality was implemented.
194194

@@ -218,6 +218,6 @@ Customers can only be in a single group at a time.
218218

219219

220220
<ul class="navigation">
221-
<li class="prev"><a href="/checkout.html">&larr; Checkout</a>
222-
<li class="next"><a href="/advanced-features.html">Advanced Features &rarr;</a>
221+
<li class="prev"><a href="/checkout.html">&larr; Checkout</a></li>
222+
<li class="next"><a href="/advanced-features.html">Advanced Features &rarr;</a></li>
223223
</ul>

0 commit comments

Comments
 (0)