Saturday, November 30, 2013

How to add a new product in prestashop

In this tutorial you’ll learn how to add new product to your PrestaShop store.


Products are controlled via the PrestaShop admin panel. Log in to PrestaShop admin panel and click at Catalog.


prestashop-product-11


You can see a list of available products and categories. Click Add new category if you need to add new category or Add new product to add new product.


prestashop-product-2



How to add a new product in prestashop

How to add a new category in prestashop

In this tutorial you’ll learn how to add new category to your PrestaShop store.


Products are controlled via the PrestaShop admin panel. Log in to PrestaShop admin panel and click at Catalog.


prestashop-product-1


You can see a list of available products and categories. Click Add new category if you need to add new category or Add new product to add new product.


prestashop-category-2



How to add a new category in prestashop

How to manage banners in prestashop

This tutorial shows how to manage banners in PrestaShop. Banners are controlled through PrestaShop admin panel.


In PrestaShop admin panel go to Modules > Positions. Search the modules list for the Banner Block modules.


presta-banners-1


You can change the banner block position using the edit icon.


In order to disable the banner block or change the image go to Modules section in the admin panel. Search for the Blocks section. There you’ll see all available banner modules


presta-banners-2



How to manage banners in prestashop

How to manage discounts in prestashop

This tutorial shows how to manage discounts in PrestaShop store. Discounts are controlled through the PrestaShop admin panel so please log in to your store admin panel.


Using the admin panel top menu please go to Payment > Vouchers


prestashop-discount-1


At the appeared screen you can see a list of available discount options.


To add new discount click Add new link.


prestashop-discount-2


Adding new discount you can set it’s:


  • code

  • type

  • value

  • description

  • product categories

  • time period etc


How to manage discounts in prestashop

How to manage taxes in prestashop

Manage Taxes


When you are logged in to the PrestaShop admin panel go to Payment > Taxes


presta-taxes-1


Here you can see a list of available taxes. To add new one click Add New button. To edit existing one use the Edit icon.


presta-taxes-2


Adding new tax you need to select the Tax Name, Tax Rate, Zone and States.


When you are done click Save button to keep your changes.



How to manage taxes in prestashop

How to manage currencies in prestashop

This tutorial shows how to manage currencies in PrestaShop. To access currencies in PrestaShop log in to your store admin panel and go to Payment > Currencies.


presta-curr-1


Here you can see list of available currencies. To add new click Add new button. Click Edit icon to edit existing currency.


You can set the default currency for your store and manually set currency rates using the Currencies options block.


presta-curr-2


At the currency adding/editing page you can define


  • currency name

  • ISO code

  • symbol

  • Conversion rate

  • Formatting

  • Decimals etc.

presta-curr-3



How to manage currencies in prestashop

“An error occurred while saving the URL rewrite” in magento

Solutions #1


First of all you need to re-index store data.


  1. Open Magento admin panel

  2. From the top menu select “System” > “Index Management”

  3. Check all Index Types, from the Actions box select “Reindex Data” and click “Submit“.

magento-error-url-rewrite-1


Solution #2


  1. Change the permissions of your media folder to 777.

  2. Flush your cache, by deleting the /var/cache/ directory

  3. Delete your sessions, by removing your /var/sessions folder

  4. Try replacing your root .htaccess file with a default .htaccess file suitable for your Magento version


“An error occurred while saving the URL rewrite” in magento

Wrong store URL after sample data install in magento

Issue: You have installed Magento 1.6.x template and sample date but your website redirects to some another URL like http://localhost/magento.


 


Solution: due to the Magento 1.6 core updates you don’t have ability to work with customise admin url through the parameter base_url any more. After the sample data installation you can have issue with wrong store URL. To resolve the issue please do the following:


1. When you are done installing Magento template sample data please re-run Magento engine installation procedure. Open app/etc folder and remove local.xml file. Then in your browser type your store address, you’ll see the initial installation screen.


2. You can also access your store database using phpMyAdmin tool, open core_config_data table and change web/unsecure/base_url and web/secure/base_url value to the desired ones.



Wrong store URL after sample data install in magento

Friday, November 29, 2013

Magento Troubleshooter. Missing categories in magento

This tutorial shows how to resolve issue with missing categories in Magento. The main reason that causing this issue is the incorrect category level in the listing.


magento-missing-categories-1


Open your Magento admin panel and go to Catalog > Manage categories.


As you can see in the left column all categories used in the store are the child categories for the Default Category


magento-missing-categories-2


If you somehow added a category to the incorrect place you can drag it to the correct one.



Magento Troubleshooter. Missing categories in magento

“Fatal error: Class ‘class name’ not found error” in magento

The following tutorial will show you how to resolve the error in your Magento store e.g.:



Magento. Fatal error: Class 'Mage_Page_Block_Js_Cookie' not found in /home/p3r14781/public_html/store/app/code/core/Mage/Core/Model/Layout.php on line 465.

 



Magento_Fatal_error_class_not_found_01


Note, the class may have different name. In order to resolve the issue, you need to download the version of Magento engine you have and open Magento folder in Total Commander (preferably). Then you need to go to Commands>Search (or click Alt+F7).


Magento_Fatal_error_class_not_found_02


Copy the missing class name (you have seen it in the error message) and paste it to the “Find text” field in Total Commander.


Magento_Fatal_error_class_not_found_03


Click on Start Search button. Few files should be found. Open the PHP file from the list and save it’s path.


Magento_Fatal_error_class_not_found_04


Open the same path on your server and upload found PHP file from downloaded engine there


Magento_Fatal_error_class_not_found_05


It will assk you if you wish to replace files. Click “Yes”. Refresh your website.



“Fatal error: Class ‘class name’ not found error” in magento

‘Shop by’ navigation block is missing from some categories in magento

This tutorial shows how to get rid of missing ‘Shop by’ navigation block in some categories.


1. Go to admin section. Open Manage Categories in admin section.


Shop_by_navigation_block_is_missing_from_some_categories-1


2. Select the category in which block does not appear. In our case Storage category does not have “Shop by block”. Open Display Settings tab.


Shop_by_navigation_block_is_missing_from_some_categories-2


3. In Anchor field we should select Yes option. Save changes.


Shop_by_navigation_block_is_missing_from_some_categories-3


4. Refresh the page. Now ‘Shop by’ block appears in Storage category.


Shop_by_navigation_block_is_missing_from_some_categories-4


In this tutorial we have found out how to get rid of missing ‘Shop by’ navigation block in some categories.



‘Shop by’ navigation block is missing from some categories in magento

How to deal with “No input file specified” error upon engine installation on GoDaddy in magento

1. Login to your Godaddy Account. Click on your hosting account.

Go to Settings > File Extensions Management.


No_Input_File_Specified_Magento_on_Godaddy_hosting-1


2. Change .php and .php5 to run under PHP5.2X (instead of PHP5.2xFastCGI)


No_Input_File_Specified_Magento_on_Godaddy_hosting-2


3. After configuration settings should look loke on the screeenshot.


No_Input_File_Specified_Magento_on_Godaddy_hosting-3



How to deal with “No input file specified” error upon engine installation on GoDaddy in magento

How to change a Google web font in magento

This tutorial shows how to change a Google web font in Magento template.


How_to_change_a_Google_web_font_Magento-1


1. Lets change font for menu items. Find font that used for particular text on your template using Firebug software. Information on how to use firebug you can find at Firebug. Mozilla Firefox plugin


How_to_change_a_Google_web_font_Magento-2


2. Open file with the link to Google font. In our template link to the google font is located in \app\design\frontend\default\theme350\template\page\html\head.phtml file


How_to_change_a_Google_web_font_Magento-3


3. We need to replace this font with modified one or just add line with the new font in case original font will be used as well.


3.1. Open http://www.google.com/webfonts and Select appropriate font using filters.


How_to_change_a_Google_web_font_Magento-4


3.2. Pay attention to character set. Select font that supports your character set.

We have selected Cyrillic Extended in order to be able to use Cyrillic fonts.


How_to_change_a_Google_web_font_Magento-5


3.3. Add font to collection and click Use.


How_to_change_a_Google_web_font_Magento-6


3.4. Select appropriate character set and Copy generated code.


How_to_change_a_Google_web_font_Magento-7


4. Replace original code in file or just add code in case you are going to use old font as well. Modified code you can see on the screenshot below.


How_to_change_a_Google_web_font_Magento-8


5. Now we need to change the font in css file. Search appropriate code in css file.


How_to_change_a_Google_web_font_Magento-9


6. Scroll down to the page with Google font and copy font to your css file.


How_to_change_a_Google_web_font_Magento-10


7. Modified code should look like on the screenshot below.


How_to_change_a_Google_web_font_Magento-11


8. Clear Magento cache according to the following tutorial: How to clear Magento cache


9. Refresh home page and check how menu looks.


How_to_change_a_Google_web_font_Magento-12



How to change a Google web font in magento

How to add a category in magento

All the main categories are displayed on the front end as a horizontal menu. In order to add a new one you should follow the steps below:


1. Enter the Magento admin panel. To do this, type “admin” after your domain name in the address bar

2. Now click the “Catalog” button in the main menu and select “Manage Categories”

3. Here you can see all the categories used in the store. As you can see, all the categories are stored in “Default Category”. Select it.

4. Now let’s actually add a new category. Click “Add Subcategory”.

5. Enter the category name

6. Specify if you want it to be active or inactive

a) The active category names are black in the list and they are visible at the front end.

b) The inactive category names are grey in the list and invisible. You can use inactive categories in case you don’t want to offer some specific goods at the moment but you’ll need them later.

7. Enter the category description

8. Select and upload the category image. It will appear on the front end of each category between the category name and the content.

9. Select “Yes” or “No” from the “Is Anchor” drop-down menu. Anchored categories will display all the products associated with all child categories in that category.

10. Using the “Category Products” tab you can assign some products to the created category

11. Open the “Custom Design” tab. Using this tab you can assign the store design to any specific category.

12. When you’re finished configuring your new category click the “Save Category” button.

13. The category has been saved.


If you want to create a new subcategory you should select the category and click the “Add Subcategory” button. It will be displayed as a drop down menu for the selected category.



How to add a category in magento

How to add a simple product in magento

In order to add a simple product in a  Magento store, do the following:


  1. Enter the Magento admin panel

  2. Go to “Catalog” tab

  3. Then “Manage Products

  4. Click the “Add Product” button

  5. Select your attribute set and product typemagento-prod-simple-12

  6. Enter the product configuration page. Here you can setup the new product settings

magento-prod-simple-21


  • enter the product name

  • the product description. It will display in the main section of the product page. The short description will display at the top of the product page and in category listings in list view.

  • set your SKU. Magento uses SKU as a unique identifier for this product across all your stores and websites. SKU is global, meaning if you update the SKU for a product in one store, it will update in the rest of your stores as well.

  • set the product weight.

  • choose the manufacturer

  • set the color

  • enter the date range during which the product will be promoted as a new product.

  • select the product status.

magento-prod-simple-31


Using the “Visibility” option you can decide whether your product will display in the page(s) of its associated category(ies), display when your customer searches for the product, both or neither. It may be useful too.


On the prices page you can set your product prices. The price of your item as it will display in the front-end. If you have a special or discount, this will be the original price.


magento-prod-simple-41


You can also enter a special price for this product. In the front-end, this will appear underneath the original price (referred to as regular price) that will be crossed out.


You can enter a date range within which the special price will be active. This price will apply automatically when the “From Date” arrives and deactivate automatically when the “To Date” arrives. If you leave this range blank, the special price will apply until you remove it.


The “Cost” field is for internal purposes and does not require a value.


The product tax class determines which tax rule will be used for this product and consequently the tax rate that your customers will be charged for.


The “Images” page allows you to upload images of your product.


magento-prod-simple-5


  1. Click the “Browse Files” button

  2. Select the image that you want to upload

  3. Click the “Upload files” button

  4. Make sure that both the radio buttons are selected.

Using the design page you can specify the particular design for each particular product.


On the “Inventory” page you can: set the product quantity in stock. Make sure that you selected “In Stock” in this field because otherwise the product will be unavailable.


magento-prod-simple-61


Up-sells are items that customers would ideally buy instead of the product they are viewing. They will appear in the “Related Products” menu at the top of the right column.


Cross-sells act a bit like impulse buys, such as magazines and candy at the cash register in grocery stores. Usually, they are items that a customer who is buying the product in question might enjoy.


7. After you finished setting up your product, click the “Save” button.



How to add a simple product in magento

How to create a configurable product in magento

For creating a configurable product you should follow the next steps:


1. Log in to your Magento admin panel


2. Select the “Catalog” tab


3. Click “Manage Products”


4. And then click the “Add Product” button to add a new product


5. Select the attribute set and the product type


magento-conf-prod-1


Note: Configurable products could be created only for certain attributes. Make sure that your attribute fits these requirements.


magento-conf-prod-2


6. Type the product information


7. Once  you’ve entered the “Associated Products” page, click the “Save And Continue Edit” button


8. You can see the area where you can create simple products with the same information as the configurable product but with different values of the chosen attribute.


9. Here you can create the products with different attribute values. Make sure that these products are not visible.


magento-conf-prod-3


10. Set the price for each attribute value. Note that you can select 2 types of prices. Fixed value that is added to the product price or percentage of the initial product price.


11. Save the product


12. No you can return to your front-end and check the configurable product.



How to create a configurable product in magento

How to create an attribute in magento

1. Log in to the Magento admin panel

2. Click the “Catalog” tab in the Magento admin main menu.


magento-attr-1


3. Select “Attributes” and click the “Manage Attributes” button. Here you can see all the attributes used in the Magento store. You can click any of them to see their attribute options and change some if needed.

4. Let’s add a new attribute. Click the “Add New Attribute” button. You can see the attribute options page:


- “Attribute Code” field. It is the name of the attribute used by the system. The drop-down menu determines the level at which the values of this attribute are shared.

- “Global” means that the value of this attribute for a given product must be the same throughout your site.

- “Website” option means that the value of this attribute for a given product can vary in different Websites.

- “Store View” means that the value of this attribute for a given product can differ in all Websites and all store views.


magento-attr-2


Each new product created with this attribute will automatically have this attribute pre-populated with the value you enter here. However, you will always be able to edit the pre-populated value. If you designate the attribute to be a unique value, the value selected or entered for this attribute for each product must be different.

If you require values, you should select a value for this attribute for each product you create. You will not be able to save a product if this attribute is left blank.


Decide which product types will include this attribute. You can specify if this attribute is available in the quick search and in the advanced search. If you opt for “Yes”, a row for this attribute will be created in the “Compare Products” pop-up window. If you select “Filterable” (with results), only the values that correspond to products in that category page will display in the menu.


You can also see the position of the attribute in the layered navigation menu against other filterable attributes.


5. Ok, we’re done with attribute properties and now we can proceed to the “Manage Options” page. Click the “Manage Label/Options” button.


- You can specify the attribute title for each language and for the admin page

- You can add attribute options


magento-attr-3


6. Specify which attribute value is default

7. Set the attribute options order.

8. When you are done, click the “Save Attribute” button.



How to create an attribute in magento