Table of Contents
Overview:
When a customer adds a product in shopping cart, it allows the customer to select or skip Gift Wrap option. Once the customer selects the Gift wrap option, the system displays various images of gift wrap and then will be added as fee. Customer can also enter Gift message, like “Happy birthday to Joe”. The order information includes this Gift message as well.
1. Take a backup of the Magento files before replacing.
2. Extract the files inside Magento Installation Root Magento_App_Root folder is same as your Magento Installation directory.
3. Folder structure for default theme \Magento_App_Root\app\design\frontend\default\<default>\template Where <default> folder is based on default theme.
Please copy the template folder into your specific theme folder
Note: For Magento 1.4.x, 1.5.x, 1.6.x, 1.7.x, 1.8.x,1.9.x the template folder structure would be Magento_App_Root/app/design/frontend/base/default/template/catalog/product
Steps to be followed in admin panel
Step 1: Create Attribute
Catalog -> Attributes -> Manage Attribute
Click the button “Add New Attribute”
Attribute code: displaygiftwrapper
Catalog Input Type for Store Owner: Yes/No
Unique value: No
Values Required: Yes
Select all option Yes for Visible on Product View Page on Front-end, Used in product listing
Manage Label/Options : Display Gift Wrapper
Step 2: Create Attribute Set
Catalog -> Attributes -> Manage AttributeSet
Click on Default
Kindly Drag and drop the Unassigned attribute “displaygiftwrapper” into your respective groups hence we get the following screen.
Click on Save Attribute Set button. Now you can get the displaygiftwrapper option (yes/No) for every product.
Step 3:Add Products and Assign under Giftwrapper Category
Catalog -> Manage Products -> Add Product
Catalog -> Manage Categories -> Add Gift Wrapper Category
Step 4: Add a new CMS page for Gift Wrapper
CMS -> Manage Pages -> Add New Page
Page Title: Choose Gift Wrapper
Self URL: choosewrapper
Status: Enabled
Content: {{block type=”catalog/product_list” category_id=”3″ template=”catalog/product/choosegiftwrapper.phtml”}}
Please replace your category id which you had noted from Screen 6 Gift wrapper Category id
Finally, Please refresh the Cache in Cache Management in admin panel
Steps to Uninstall the Gift Wrapper Extension
Please follow the instructions below to uninstall Gift Wrapper Extension and remove from your website.
Step 1: Go to the location app/etc/modules/ Kamtech_Giftwrapper.xml.
Find the line of code true
and change it to false
Refresh the Cache in admin panel->System->Cache Management
Step 2: Remove the file choosegiftwrapper.phtml in the following location.
app/design/frontend/base/default/template/catalog/product/
Similarly roll back cart.phtml, success.phtml files in the following locations app\design\frontend\base\default\template\checkout
This path maybe vary as per the website theme/template used.
If there is Theme template folder then please follow this location
app/design/frontend/default/(Your Theme Folder)/template/catalog/product
Step 3: Please disable or delete the Choose Gift Wrapper CMS Page or Choose Gift Wrapper Static Block in your admin panel.
If you have any questions or issues, please contact technical support team via http://mage-extensions-themes.com/support/