Wednesday, 25 February 2015

Magento Installation Guide........

Step 1 The first thing you need to do to install Magento manually is to download the latest installation package from the official Magento website.
Step 2 Next, you must upload the installation package on your hosting account through your cPanel -> File Manager or using an FTP client.
In case you want the Magento installation to be primary for your domain (i.e. to run from http://yoursite.com), you need to extract the content of the installation package in the public_html folder. On the other hand, if you want it to be in a subfolder like http://yoursite.com/store/ you need to extract the content to public_html/store/.
Once you upload the package, you can extract it through your cPanel -> File Manager.
Step 3 Create a MySQL database and assign a user to it through cPanel -> MySQL Databases. Remember the database details, since you will need them during the script installation.
Step 4 Go through the Magento installation process
In our example we will install Magento in the public_html/store folder. Once the package is uploaded and extracted and you have a MySQL database, navigate to http://yoursite.com/store:


Click on the check box next to "I agree to the above terms and conditions" and click on the Continue button.
Now, choose the preferred Time Zone, Locale and Currency and press the Continue button.


Next, enter the database details: Database Name, User Name and User Password. You can leave the other options intact. Make sure that you place a check on the "Skip Base URL validation before next step" option. Then, click the Continue button to proceed.


At this point you should enter the personal information and the admin login details which you want to use. You can leave the Encryption Key field empty and the script will generate one for you. Once more, click the Continue button.


Finally, Write down your encryption key; it will be used by Magento to encrypt passwords, credit cards and other confidential information.


Well Done! Your Magento installation was successfully completed. Now you can navigate to its Frontend or Backend.

Tuesday, 24 February 2015

Problem with simple configurable product module in Magento1.9

Problem with simple configurable product module (organic internet) and Magento1.9 with selecting associated products, update attribute values and associated product images with zoom.


Install the simple configurable product option of organic internet.

Then go to configurable product detail page. You can see, when you select any associate product you can see only the price is changing not the image and not the attribute section and even not name also.

These things occurred because of in magento 1.9 there is default theme rwd and it doesn't have class or html tags which is written in js file of scp name "scp_product_extension.js" to replace content after associated product selection.

For changing attributes values in tab view. You need to go to your theme's "view.phtml" page. Where  you can find the below code at "app/design/frontend/rwd/default/template/catalog/product/view.phtml"



Here you need to add one class for tab-specification. Let suppose I added class name "tab-specification" at  <div class="tab-content">
See the screen shot



Now go to  scp extensions  js file named "scp_product_extension .js" .
Here you can see approximately on line no 256, the code for replace additional information.

You can find it at "skin/frontend/base/default/js".



What you have to do is just change the class name  of "div.box-additional" to new class name which is added by us i.e. "div.tab-specification".
  

Now for changing the image of products with selecting associated products. Check the line no 204 on "scp_product_extension .js".  In this section you need to change the image "id" and image "path" or on which div it's exists. 


Then change as below for image id and image tag location
  

After that you need to do only single step for changing the image of a associated products. Here you have to disable the default code and write your own code for image replace with zoom functionality re-initialization.




You can see the default image replace and zoom functionality code at line no 300

You have to change this code with below given code
  

Comment the default code and add your code for replacing image with zoom functionality re-initialized.



That's it now check your product detail page the attribute values and associated product images are working correct with zoom functionality.


about new GraphQL freature in Magento2

GraphQL: GraphQL is a data query language developed internally by Facebook in 2012 before being publicly released in 2015. Magento impleme...