Skip to content

Commit

Permalink
change installation guide of Multiple Store View Pricing M1
Browse files Browse the repository at this point in the history
  • Loading branch information
trungnguyenbss committed May 11, 2017
1 parent 86083cf commit 74f7ea9
Showing 1 changed file with 30 additions and 31 deletions.
61 changes: 30 additions & 31 deletions docs/magento_1/multi-store-pricing/installation-guide.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
Installation Guide
==================

1. For Multiple Store View Pricing version 2.3.0
-------------------------------------------------

1. For Multiple Store View Pricing version < 2.2.1
**Step 1:**

You copy all files in the extension folder to the Magento root folder.

**Step 2:**

You copy file **app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php** to **app/code/local/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php**

**Step 3:**

Open file **app/code/local/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php**, search **"public function afterLoad($object)"**
and find this line:

.. literalinclude:: code_examples/v2.2.1_after_load.py

**- Then, you insert the following code behind that line:**

.. literalinclude:: code_examples/v2.2.1_step3.py

**=> After inserting, you will have a code snippert as below:**

.. literalinclude:: code_examples/v2.2.1_codesnippert.py

(You can see the example file in the example folder if you have not still got it well and please note that you use it only for Magento 1.9.2.x)

2. For Multiple Store View Pricing version < 2.2.1
--------------------------------------------------

1.1. For Magento 1.6 and above
2.1. For Magento 1.6 and above
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

**Step 1:**
Expand Down Expand Up @@ -47,7 +74,7 @@ Open file **app/code/local/Mage/Catalog/Model/Product/Attribute/Backend/Grouppri

(You can see the example file in the example folder if you have not still got it well and please note that you use it only for Magento 1.9.2.x)

1.2. For Magento 1.5
2.2. For Magento 1.5
^^^^^^^^^^^^^^^^^^^^

**Step 1:**
Expand All @@ -71,31 +98,3 @@ and find this line:
.. literalinclude:: code_examples/magento1.5_codesnippet_step3.py

*Note: This installation guide is only used for Magento Multiple Store View Pricing version 2.1.6*

2. For Multiple Store View Pricing version 2.2.1 and above
----------------------------------------------------------

**Step 1:**

You copy all files in the extension folder to the Magento root folder.

**Step 2:**

You copy file **app/code/core/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php** to **app/code/local/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php**

**Step 3:**

Open file **app/code/local/Mage/Catalog/Model/Product/Attribute/Backend/Groupprice/Abstract.php**, search **"public function afterLoad($object)"**
and find this line:

.. literalinclude:: code_examples/v2.2.1_after_load.py

**- Then, you insert the following code behind that line:**

.. literalinclude:: code_examples/v2.2.1_step3.py

**=> After inserting, you will have a code snippert as below:**

.. literalinclude:: code_examples/v2.2.1_codesnippert.py

(You can see the example file in the example folder if you have not still got it well and please note that you use it only for Magento 1.9.2.x)

0 comments on commit 74f7ea9

Please sign in to comment.