Unable to override Mage_Customer_Model_Address_Abstract - magento

In magento 1.9.2, To remove Telephone number as mandatory field from checkout page I copied the app/code/core/Mage/Customer/Model/Address/Abstract.php to app/code/local/Mage/Customer/Model/Address/Abstract.php . Cleared cache and tested. But still the core file is only accessed. How can I get the local file to override?

Well i just Google this "magento remove telephone number field from checkout"
And i got this link on first result Click here
And because i am posting this in answer i have tried follwoing that link in magento 1.9 and it gives what you want.Just give it a try.

You need to follow this:
Checkout Telephone Not Required
It is same that you required to do. It specify multiple way.

Related

How to edit the Amasty Magento One Page Checkout page in front end to add a label in payment method section?

I am trying to add a label in my Magento One Page Checkout. I am using Amasty One Page Checkout extension. I want to add a text under Payment Method Credit Card Number. Not able to find the file. Any help would be appreciated.
I tried find the files, but not able to find the right file and path.
You can use template hints in "System-->Configuration-->Developer". You first need to change scope to storeview. And you can better use allowed IP's.

Magento checkout cart feature control

I have a site, 1.5 magento, and the cart functionality (and the customer account functionality) seem to be disabled. When i attempt to go to the url 'checkout/cart', just the homepage displays.
Ive checked all the usual suspects..including:
checked the url_rewrites table (there is one entry in their referencing checkout/cart...but goes from checkout/cart to checkout/cart, so dont see this is an issue, but did edit it just to rule it out)
enabling/disabling of the module itself, looking at both the etc/modules files and removing, and checking the module listing in system->config->advanced area.
trying to step through the code..try detect where the change over of pagedata occurs - struggling here.
looking for certain terms in the codebase...and database SQL file.
the htaccess file, looking for a rewrite
local/community modules..and any rewriting of the checkout
Im starting to think a hack is in place here to show the homepage when visiting checkout url. The url : www.mysite.co.uk/checkout/cart remains in the address bar, but i see homepage data.
Anyone know where else i can check...or easily locate the cause of this issue?
Many thanks
S
Did you look in backend under Configuration -> Sales -> Checkout ?
There is a field called "Enable One-Page Checkout" which has to be enabled. If you disable it, your store will just run fine but neither registered customers nor guests can check out anymore.
Turns out this was rewrites added to the rewrite table manually. Didnt find them at first.

Removing Step 2 "Shipping Information" from Magento Onepage Checkout

I am currently using magento 1.5.1. I am also using a module to allow local store pickup. However, I want to remove the "Shipping Information" Step from the checkout process. I do not want to remove the "Shipping Method" part because it's required form my in store pickup module. Please help.
You would have to remove the link to it in the file:
magento/app/design/frontend/base/default/template/checkout/onepage.phtml
and then most likely edit
magento/app/design/frontend/base/default/template/checkout/onepage/shipping.phtml or shipping-method/phtml
It might be a little difficult.
Let me know how this goes!

After magento upgrade prices including tax are displayed as 0 on detail page

I upgraded a magento store from 1.3.x to 1.7.0.0. This caused some bugs which I am fixing now.
I am stuck at this one: the price of products added after the upgrade are displayed correctly in the category page but not on the detail page. For some reason the price including tax on the detail page of a product added after the upgrade is always '0'. The price excluding tax is displayed correctly. You can see this here: http://www.stagefreaks.nl/gedore-scaffhamer.html
Furthermore: the price including and excluding tax is correct in the shoppingcart and during checkout.
Any idea what might cause this problem ? I turned of caching at the moment, so it is not a caching issue (and it has been an issue for over a week now).
Thank you very much for any reply.
in order to solve a bug, the first step is to know where it comes from.
As you already have discarded a template issue, let's focus on the non-core code:
rename app/code/local/ to app/code/local_backup/: this will disable all local modules. Reload your page and check if the price is still wrong.
if it's still wrong, rename app/code/community/ to app/code/community_backup/ and reload the product page
when you've find out which code pool is responsible, undo the folder name's change and disable one module at a time (putting the tag <active> as false in the app/etc/modules/module.xml file or renaming the folder)
Once you know which module is responsible, you'll have to review it to see how it messes with your product detail view.
Oh, also, edit your index.php file to show errors:
comment out the condition around Mage::setIsDeveloperMode(true)
uncomment ini_set('display_errors', 1);
A Specific solution of this problem is....
This Error occur if you install a new custom module and clear the magento cache.
magento creates the Helper,Model,Controller ,Adminahml on installation of your module.
From these files magento knows about your module.
For Ex.
I Create a module name as createform
Module folder is
Createform/Newform/etc/
/Helper/Data.php
/controllers
/Model
/Block/Myform.php
After installation of this module, magento will create a file name as
Createform_Newform_Helper_Data.php in /includes/src/ folder.
Note:- If this file not created in /includes/src/ folder.
Fatal error: Class 'Createform_Newform_Helper_Data' not found in /app/Mage.php on 546
Then this error will occur.
For removing this error Manually create this file in includes/src folder.
Like:-
/includes/src/Createform_Newform_Helper_Data.php
and add code of Data.php file in Createform_Newform_Helper_Data.php file.
Then refresh your site.
This error is removed from your system and it works properly.
Also check your system.log file for other errors.
Just a hunch but could it have something to do with the new VAT options? There are options for vat calculation there you could check out.

How to solve 404 not found problem in Magento

I have installed full release Magento on localhost from http://www.magentocommerce.com/download. Before doing installation I have created a database and import Magento sample database (downloaded from Magento site).
After that continue installation process. When I checked fronted its shows Best Selling Products when I clicked any of the product it gives error given below:
Whoops, our bad...
The page you requested was not found, and we have a fine guess why.
* If you typed the URL directly, please make sure the spelling is correct.
* If you clicked on a link to get here, the link is outdated.
What can you do?
Have no fear, help is near! There are many ways you can get back on track with Magento Demo Store.
* Go back to the previous page.
* Use the search bar at the top of the page to search for your products.
* Follow these links to get you back on track!
Store Home
My Account
I am new to Magento.
I've experienced this too. In the admin go to System > Index Management and rebuild the various catalog indexes, especially the URL rewrites.
This is because the sample data doesn't have it's paths stored to begin with, it needs to be calculated, and the Best Selling Products section doesn't read the actual paths in use, instead it is a Static CMS Block with it's HREFs fixed. This will probably never occur for products you enter yourself so it's nothing to worry about.
I had the same problem in Wamp. I had my folder named Magento, renaming it to magento, fixed the problem. (Lower case)
I had a similar issue, I was transferring Magento from a Unix server to a Windows server. My issue was to do with links looking like this (not working)
http://www.magentoshop.com.au/shop/product01.html
instead of
http://www.magentoshop.com.au/shop/index.php/product01.html
Haven't worked out how to fix all links yet, but just adding it tells me where the issue lies. Hope it helps someone else.

Resources