Archive for the ‘E-Commerce’ Category

I faced the problem to access the admin panel of Magento today. I found the solution that insert the Sql code into your database :

 

SET FOREIGN_KEY_CHECKS=0;
UPDATE `core_store` SET store_id = 0 WHERE code='admin';
UPDATE `core_store_group` SET group_id = 0 WHERE name='Default';
UPDATE `core_website` SET website_id = 0 WHERE code='admin';
UPDATE `customer_group` SET customer_group_id = 0 WHERE customer_group_code='NOT LOGGED IN';
SET FOREIGN_KEY_CHECKS=1;
Advertisements

When I started first Magento I can not install it locally,I just work on live server.But it’s so painful for me.I got a lot of installation tutorials on online but I don’t get any result.At last I find out it and share it for all who are the beginner and fall down problem to install Magento on local server.It’s not so hard for PHP programmers who have at least little knowledge of php.ini file of server.At first I suggest you to use Xampp it’s easy for beginner.So let’s start :

1. I use Xampp for this tutorial.Find the file from Xampp xampp/php/php.ini

2. Then open this file php.ini and change the change like below :

i)  First Download the latest version of Xampp.

ii)  Find ;extension=php_curl.dll and change it to extension=php_curl.dll (Just remove[;] commentof PHP)

ii) Find memory_limit = 32M and change it to memory_limit = 128M or more . I use  512M. 

iii) Find max_execution_time = 60 and change it to max_execution_time = 18000 or more . I use  18000.

iv) Find max_input_time = 60 and change it to max_input_time = -1 . 

After these changes save the file and restart your local Apache server.This is the pre-installation procedure to install Magento.

Sometimes we fall a problem how to change virtuemart default currency selector of Joomla.It’s so easy just follow the below instruction :

Login to Joomla Administrator Panel > Components > Virtumart > Store > edit store > Select your country and State..  and that’s all it needed..

it seems that the when you install virtumart it sets a default country and this overrides that default to your country and currency.. So easy 😀

Sometime a lot of developer don’t find how to change the virtuemart cart image,it is so much easy just change the css code and upload your image.In below I discuss that step by step :

In com_virtuemart/themes/default/
you will see theme.css – the second entry is

.addtocart_button {
background: url( 'images/add-to-cart_blue.gif' ) no-repeat  center transparent;

Either change the image specified (there are others in the image directory) or define a colour.ENJOY 😉

When products are added to the cart there is a Notice pop-up box, which prompts whether to continue shopping or to navigate to the cart.

You can easily disable the checkout Notice pop-up box.

Navigate to your Joomla administrator area->Components->VirtueMart->Admin-> Configuration->Site.

Click on the Configuration link besides the Select the theme for your Shop drop-down menu.

There set the following values:

Customer Checkout in a popup (GreyBox)? No
Use Ajax to add, update or delete products from the cart? No

Save the changes and test the new functionality. Once you order an item you will be redirected to the cart page.