spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
  Home » MAGENTO » Page 1
ZenCart to Magento import
I have sorted this my own. What surprised me is, there are no valid doc on how to import customers from ZenCart/OsCommerce to Magento any where around web unless some forum with premium Magento extensions. Hence I am posting my solution here which would be a help for any one who is looking for this same solution. Fetching ZenCart customer details Obviously ZenCart uses MySQL DB. Get into MySQL p

Categories : Magento

Change store/website by location in Magento
You need to change condition public function getLocationInfoByIp($observer) { $store = ''; $location = $_POST['location']; if($location=='US' && Mage::app()->getStore()->getCode()!='en') { Mage::app()->setCurrentStore('en'); }else if($location=='IN' && Mage::app()->getStore()->getCode()!='de') { Mage:

Categories : Magento

Issue related to Magento Contact form
You need to chaeck that your email system is working or not. Second thing you need to set email address in admin panel system -> configuration -> general -> contacts -> contact us -> enable setting And system -> configuration -> general -> contacts -> Email options -> set email address, sender name and template

Categories : Magento

remove keywords magento and hide description when empty
Why not copying app/design/frontend/base/default/template/page/html/head.phtml to: app/design/frontend//default/template/page/html/head.phtml and do: Remove the following line: <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" /> Change the following line: <meta name="description" content="<?php echo htmlspecialchars($this->get

Categories : Magento

Wamp does not show anything when i trying to open my site on localhost
May this work select * from core_config_data where path = 'web/unsecure/base_url'; select * from core_config_data where path = 'web/secure/base_url'; Please use this queries and change the path of localhost up to your root directory for e.g 127.0.0.5/yourdirectorypath/ pls change accordingly... also in index file make error true and in your root directory there is one error directory in that

Categories : Magento

Magento, trouble with getting product collection by manufacturer
If manufacturer dropdown value id is 10 then you can filter like this $collection = Mage::getModel('catalog/product')->getCollection(); $collection->addAttributeToFilter('manufacturer',10); return $collection;

Categories : Magento

where can I find magento ajax image loading gif?
The easiest way to override magento ajax loading gif universally will be to place an image of the same name in your custom theme directory called /images/opc-ajax-loader.gif So, for example: /skin/frontend/mypackage/mytheme/images/opc-ajax-loader.gif

Categories : Magento

Magento : Taking 35 Second to load 4 product's
You use a bit deprecated way to call the filters. I don't know if that can really influate the time of loading but using addFieldToFilter() would limit the calls to database and can be usefull. You can use : Magento: Filter products by Status filtering product collection on "is_salable" The block is maybe not cached correctly. I mean the products are load each time the page is called.

Categories : Magento

retrieve all products and their respective attributes using getAdditionalData in magento
I actually figured out why it wasn't working. It appears that getAdditionalData() is not really attached to a specific product. The product view is calling this function from core file. The actual function I needed to use was getAttributes().

Categories : Magento

Unwanted Scrollbar error in Magento
Thats a css issue. overflow property problem. I think they have set(theme providers) multiple time the same property. Anyway just open the below file, http://duwj1c2q9eaye.cloudfront.net/skin/frontend/default/ves_superstore/css/styles.css at line 4378 remove or comment this css property overflow-x: hidden; That's it. If you have any doubt comment here.

Categories : Magento

IndexController postAction not calling
The URL you want to call is: http://www.examplemagento.com/ydg_offredpriceform/index/post To let magento generate this url, use the following: <?php echo Mage::getUrl('ydg_offredpriceform/index/post'); ?>

Categories : Magento

Magento rewrite extension controller
You need to create new module you can keep in local or community it is not matter But add code in you file appetcmodulesMycompany_Modulename.xml <?xml version="1.0"?> <config> <modules> <Mycompany_Modulename> <active>true</active> <codePool>local</codePool> <depends>

Categories : Magento

Magento read customer country
Load your customer address ID in the first line of code, you will eventually get these details : $address = Mage::getModel('customer/address')->load($customerAddressId); $fullname = $customer->getName(); $firstname = $customer->getFirstname(); $lastname = $customer->getLastname(); $email = $customer->getEmail(); $taxvat = $customer->getTaxvat(); $tele

Categories : Magento

Verified by Visa on orders over $100
I don't think you have to create another payment method for this. Since I didn't see your code. So I can tell the logic only. Just disable minimum order. So we can place all order using this payment method. And add simple logic in your code that verify the order by VISA only if order is greater than $100 or as per you want. Like, <?php $quote = Mage::getModel('checkout/session')->getQuote(

Categories : Magento

Google Analytics Issue for Magento to PayPal
a better question for you is why are your customers not reaching the success.phtml? Go to Website Payments under Profile on the PayPal website. Setup your return URL and enter the succes url there... If your customers don't return because they close their browser before returning to the shop: You could remove the script from success.phtml and add a serverside-call to GA using something like se

Categories : Magento

changes of db details in local.xml not affecting
Make sure there are no local.xml.extra or local.xmlanything files in app/etc directory. (This happened with me sometimes. I had a habit of renaming old local.xml file to local.xml2 and Magento picks that local.xml2 file as a configuration file. So you should delete the old file or move it to some different location.) Make sure the Magento Caching/ Any other caching is disabled. There can be Full

Categories : Magento

Shipping method not displaying fees in Magento
You should give the 12.04 in the price text box then it will be shown while checkout. For more inforamtion read this : http://creatingawebstore.com/how-to-enable-flat-rate-and-free-shipping-in-magento.html I hope this answer will help you. Cheers!

Categories : Magento

Adding Status Column to Customer Information -> Orders in Magento
This is definately work add renderer change your column by $this->addColumn('status', array( 'header' => Mage::helper('customer')->__('Status'), 'index' => 'status', 'type' => 'options', 'options' => $this->_getorderstatus(), 'renderer' => 'Pnp_Customer_Block_Customer_Edit_Renderer_Status', )); Add new function in s

Categories : Magento

How to remove or hide breadcrumbs for a particular page in magento
Try using <remove name="breadcrumbs" /> Within specific handle of your layout xml file. For example <catalog_category_default> <remove name="breadcrumbs" /> </catalog_category_default> Or try using that within the cms page layout form in backend under CMS->Pages.

Categories : Magento

Magento webshopapps Matrixrate - more than one shipping method?
WebShopApps has an excellent Wiki Page that describes how to setup these extensions. http://wiki.webshopapps.com/extensions/matrix-rates/examples Towards the bottom of the link, download the matrixrates-pricevsdestination.csv. This is exactly what you are looking for. Modify to fit your needs then upload to Magento Admin Panel under Shipping Settings

Categories : Magento

Magento Single Site Multi Store Multi Store View
I believe what you want is one website, two stores and three views. The Canadian store would have two views for EN and FR. The US store would have one view for EN. This would support the payment method differentiation. When configuring products (pricing) you can specify the store. This should also support your pricing differences for the two stores. I don't have experience with multiple languages

Categories : Magento

Magento magmi No decimal Attributes created for sku error
THis is a "normal" warning for "grouped" products since they have no price (being an aggregate of other products which themselves have price) and magmi expects products to have a price. A fix will be done to remove this unnecessary warning.

Categories : Magento

Hide out of stock products only in search result pages
I know a way by which you can achieve this. Inside Magento/app/design/frontend/rwd/default/template/catalogsearch/result.phtml $this->getProductListHtml() ; gives you the desired search result. Inside list.phtml check this out. $_productCollection=$this->getLoadedProductCollection(); Magento allows you a way by which you can observe the collection add filters before/after the colle

Categories : Magento

Magento catalog price rules discount doesn't work with products with custom options
I think you're just missing one thing. On your catalog price rule, go under Actions and change the item called Enable Discount to Subproducts to Yes. And then set this number to be the same as your original discount above. Example: If you're selling a pair of shoes, and red ones normally cost $10 more. With the subproduct rule set to no, the $10 mark-up stays at $10, even if your shoes are 50

Categories : Magento

Fatal error occurred: "Wrong max deactivate lock item time."
The problem can be caused by enabled compilation during the upgrade. To solve you should click "Run Compilation Process" in System -> Tools -> Compilation. Remember to disable " compilation" option ( System -> Tools -> Compilation) before each upgrade and enable it again once the upgrade process is completed.

Categories : Magento

Unable to connect to Magento admin panel
I think you have a problem with cache management. Try to delete var folder in the [YOUR SITE PATH HERE]/magento/var Additionally, it might be useful to you. Here is 3 ways to turn on/off cache in Magento

Categories : Magento

unable to open product from Magento Backend, It is showing fatal error
I really bet your issue is in your .gitignore. I recently had the same issue, and it was because my .gitignore had media/ as one of the entries. Well, go figure, that burried deep in the core inside Adminhtml is this path: app/code/core/Mage/Adminhtml/Block/Media/ That gitignore was excluding that folder NOT just the main media folder in the root of the Magento installation. Check your code base,

Categories : Magento

Magento 1.9 IWD OPC update removes credit card info on changing shipping fields
Its always updated when you change any previous element in the form. However I noticed the dates and the card type are persisted but not the card number and cvv number which seems odd. As a work around you can save the card number and cvv number to the Magento session object within the controllers/jsonController.php savePaymentAction() method, then in your payment form cc.phtml grab the session o

Categories : Magento

Magento Terms and conditions checkbox not showing on checkout page review section
Try to enable Onepage Checkout [System > Configuration > Sales > Checkout > Checkout Options] http://www.magentocommerce.com/knowledge-base/entry/setting-up-the-terms-and-conditions-of-a-sale Note: To enable Terms and Conditions, Onepage Checkout must be enabled. If Onepage Checkout is disabled, the Terms and Conditions will not appear during checkout.

Categories : Magento

Magento - Add index to table column using upgrade script
Magento allows you run SQL queries in two ways: Using RAW sql queries Using magento way Using RAW SQL queries You can run SQL queries directly. In your scenario, <?php $installer = $this; $installer->startSetup(); $sql=<<<SQLTEXT ALTER TABLE table_name ADD INDEX index_name(field_name); SQLTEXT; $installer->run($sql); $installer->endSetup(); It will add index in your

Categories : Magento

Fatal error: Call to a member function extended() on a non-object in
Issue could be caused by incorrect file/folder permissions or broken XML structure. Please check xml-files in app/etc and each custom module located in app/code/local/, app/code/community/ folders

Categories : Magento


Recently Add
Magento Base theme add review page 2colunms-right layout change to 1columns laylout
ZenCart to Magento import
Change store/website by location in Magento
Issue related to Magento Contact form
remove keywords magento and hide description when empty
Wamp does not show anything when i trying to open my site on localhost
Magento, trouble with getting product collection by manufacturer
where can I find magento ajax image loading gif?
Magento : Taking 35 Second to load 4 product's
retrieve all products and their respective attributes using getAdditionalData in magento
Unwanted Scrollbar error in Magento
IndexController postAction not calling
Magento rewrite extension controller
Magento read customer country
Verified by Visa on orders over $100
Google Analytics Issue for Magento to PayPal
changes of db details in local.xml not affecting
Shipping method not displaying fees in Magento
Adding Status Column to Customer Information -> Orders in Magento
How to remove or hide breadcrumbs for a particular page in magento
Magento webshopapps Matrixrate - more than one shipping method?
Magento Single Site Multi Store Multi Store View
Magento magmi No decimal Attributes created for sku error
Hide out of stock products only in search result pages
Magento catalog price rules discount doesn't work with products with custom options
Fatal error occurred: "Wrong max deactivate lock item time."
Unable to connect to Magento admin panel
unable to open product from Magento Backend, It is showing fatal error
Magento 1.9 IWD OPC update removes credit card info on changing shipping fields
Magento Terms and conditions checkbox not showing on checkout page review section
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.