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

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.

Related

Magento Patch SUPEE-6788 breaks custom file option file link on cart page?

When executing file upload on a site with SUPEE-6788 applied, and then adding the product to cart, rather than present a URL to the uploaded file you get a chunk of text similar to this on the shopping cart page and also in the sales email generate. The file itself can be found in the quote folder so looks like the rerendered part of the page that should show the file link is bust.
a:10:{s:4:"type";s:10:"image/jpeg";s:5:"title";s:8:"2849.jpg";s:10:"quote_path";s:68:"/media/custom_options/quote/2/8/16156fb1e8320b06153ee7061a7b5cdf.jpg";s:10:"order_path";s:68:"/media/custom_options/order/2/8/16156fb1e8320b06153ee7061a7b5cdf.jpg";s:8:"fullpath";s:119:"
Has anyone else seen this issue.
** update **
This is still a problem after upgrading to 1.9.2.4.
Interestingly if you update and save the cart the uploaded file link is then rendered correctly. In the sales_flat_quote_item_option table where the product options in the cart are saved, the field holding the file link metadata is updated and it has changed. Some characters present in the value on the original cart submission are removed [see below]
;s:3:"url";a:2:{s:5:"route";s:35:"sales/download/downloadCustomOption";s:6:"params";a:2:{s:2:"id";N;s:3:"key";s:20:"d6e5b846b9f1f6b4298b";}}}
Therefore rather than a rendering issue it looks like a generation issue. Maybe the theme is involved. Will look at difference between writing and regeneration.
** Update **
OK solution found. The Application (Magento Theme + Modules) was, in a Mage_Checkout_CartController type, creating a product in the cart via code like this
$cart = $this->_getCart();
$params = $this->getRequest()->getParams();
$_product = $this->_initProduct();
$cart->addProduct($_product, $params);
This was creating a product that contained the File Upload option which was then stored in an invalid format.
A rework of the code removed the need to use the above code and the problem has gone. So there does seem to be a bug somewhere related to product creation and File Upload options but I've gone far enough on this journey for now.
Same here this problem is encountered within many instances, like product page, checkout page, order page (Magento CMS). First we thought it was about module update issue, but that didn't help, so right now we think it's a 1.9.2.2 bug.

Blank Page for newly uploaded products in magento

After uploading new products to my existing stockpile (in Magento) I noticed that the product pages were coming up blank. I have reindexed the products, refreshed the cache, ensured that the items are marked as enabled, in stock with a quantity of at least 1. My existing products are working fine so this is a complete mystery to me.
I have found issues such as "Magento shows blank/empty page. How do I solve this?" (http://kb.magenting.com/content/22/38/en/magento-shows-blank-empty-page-how-do-i-solve-this.html) but none that with the same problem as me here.
Ideally someone who's reading this has suffered as I am here and healed the pain - if you have please post the cure. Similarly if anyone can suggest solutions/reasons I'd be most grateful.
_g
Without more information these are just guesses:
Examine your import script against an export script. Did you include all core fields e.g. website, store, sku, name
Check your logs, are any exceptions being thrown on the product page?
Are the products showing up in your catalog? If so you've probably got the core fields imported ok. If not see the first point.
If the products are in the catalog but blank screening on the product page, it's most probably some customer code in your skin thats causing the issue. Try either switching to the default skin and reload. If it works then your import was probably missing an attribute used by your skin on the product page.
If the default skin loads. Go back to your skin and comment out code on your product page until you find the culprit.
Hope that helps.

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.

magento blank first name and last name in billing page

I am totally lost with the one page checkout system in magento .
I am getting all the values except first name and last name. I can think that it’s a minor fix but cannot trace where the problem is.
I had the same problem after updating. I had to update my customer folder in my template
if you were using the default template it would be
frontend/base/default/template/customer

Magento Problem

I am running a store on Magento. For some reason the "Recently Viewed", "Related Items" and "Featured Items" blocks have all disappeared from my site. They where definitely there yesterday so I'm not sure what's happened to them.
Featured Products is an extension I use and show on the home page using:
{{block type="featuredproducts/listing" template="inchoo/block_featured_products_main.phtml"}}
Does anyone have any idea what the problem could be?
Reindexing my products fixed this.
system > index management
Probably some Blocks that don't render. Check your /var/log/errors.log for clues (1) and remove the module if is giving you problems(2).
This one here is trying to load the Featuredproducts_Block_Listing class. Check if is there and if is not misspelled.
Have you added any custom module to magento related to products like feature products or products on sale, if yes then just make it false from XML file /app/etc/modules/module.xml
and then refresh or delete the cache and try again with front end.
If this will not work then just simply delete all cache, session and logs. and refreh the web page it will work.
Thanks
Magento Development

Resources