Subtotal, Shipping, Discount and Grand Total Missing in Magento - magento

Hope someone can point me in the right direction. I am not a Magento developer but am having to fix my site after my "developer" left me with most of the work to do.
Currently in my checkout screen i'm not seeing any values other than that of the actual product item value - no subtotals, discounts, shipping or the grand total. They all appear ok on the emails that are sent though (luckily).
I'm not using the default Magento package but from what i can see all the .phtml files seem to be there in the base directories and are not in my new design directories - so i would have assumed all would work ok. But alas, no. Is there anywhere i should be looking/tweaking etc etc? Have googled about as much as i can but to no avail.
I'm sure it must be something simple (!?) if all appear on the emails ok. Any ideas would be great!

I realise this is fairly old now but just in case anyone else comes across this I had this problem and for me all I had to do some enable the Mage_Tax module in System > Configuration > Advanced

It is difficult to answer your question without more insight, but here is what can be a starting point:
Login to your shop's admin panel.
In System menu click on Configuration.
From the Current Configuration Scope box select your Website.
Now in the menu on left-hand side under Configuration > Advanced (almost to the bottom of the screen)
Click on Developer
Now in the main panel, click on Debug.
For the field Template Path Hints select Yes.
Now reload your website (front-end) and you will see from which template is each part of the page being loaded.
Also if Magento's cache is enabled, you will need to clear that. I would suggest that this cache be disabled during development and/or on non-production versions of your site.

Related

Magento showing different product quantities on different pages

We have a Magento site running on version 1.7.0 on the Argento theme that seems to be having intermittent issues with products not appearing. This appears to happen on certain pages and not others.
For example, if you add a product from the homepage or single category pages, it will show immediately as being part of the cart (note, Argento uses AjaxPro for the cart). However, once you navigate to another page, say "My Cart" or "Checkout" the total will show as zero. Doing a hard-refresh on the browser will update the total.
Additionally, if you open the Chrome Dev tools, navigate to "Network" and then check "disable cache" everything runs perfectly.
Things we have tried to resolve this:
Flushing/Clearing/Disabling the Magento cache. Seems to make things slightly better but doesn't clear up the issue.
x-cache-control meta tag. Same as above, issue seems to be less frequent but still definitely appearing.
Turn off AjaxPro. Our initial belief was that this plugin was causing issues, but turning it off has no effect.
Re-Index. Has no effect.
Added $.ajaxSetup({"cache" : false}) at the top of our scripts. This also has no effect.
Any advice or tips on where to look next would be appreciated.
It turns out that our hosting provider had set up the installation with the sessions stored in memcache. We switched this over to file storage in our local.xml and it fixed the issue.

Magento frontend hightlight translations

I am trying to make Magento highlight translations on the front end of the website and show what file the translation is in.
I'm not really sure where best to start with this and cant find anything similar.
Edit: I managed to do this by extending the Translate model, was actually very simple.
You're in luck! Magento has this built in. Go to admin, and go to;
System > Configuration
From the top menu, then;
Developer
From the left menu (its at the bottom).
Open the 'translate inline' tab, and enable for front end. Flush your cache and go back to the frontend. It will now show you the paths for labels which live in the /app/locale/[COUNTRY CODE] folders.
NOTE: Don't do this on a production site, as others will see the labels too.

Magento, category, details button

I'm trying to teach myself Magento, and basic programming.
In the product lists I have, beside the "add to cart" button is a "Details" button. It has a typo in the label, and says "Detalis".
I need to fix this, but I can't find where/which file it is in. Can anyone point me in the right direction?
Generally,product list layout came from list.phtml file.
file location:app/design/frontend/default/my_theme/template/catalog/product/list.phtml
(or)
Please enable the path hints via admin panel.It's show all block paths.
How do I turn on template path hints?
To turn on template path hints in Magento:
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or
store view.
Under the Debug tab of the same Developer config page you will see a
new option appear that will allow you to turn on/off template path
hints.
Remember to clear your cache.
Generally, I believe that the templates associated with products would be located in the
app/design/frontend/default/your_theme/template/catalog/product/
However, I am unsure of your site template files etc, especially if you are doing things yourself.
To make your life easier, I would suggest installing a program called Agent Ransack which I have found to be invaluable when searching for a needle in a haystack.

Magento Identifier position - similar to ?tp=1 in Joomla

Does anybody know how can I find out the predefined identifiers and their position in the layout of a certain magento template?
I am having a big problem every time I want to add a new static block, since I do not know what are the available positions.
In other words I am looking for something like ?tp=1 that joomla has.
Thanks,
George
Just had this problem and here is the solution I've found.
log into the magento back-end admin
Go to System -> Configuration in the main menu
Go to Developer on the bottom left under ADVANCED
Switch to the store view on the top left to your current website or store view.
Under the Debug tab of the same Developer config page you will see a new option appear that will allow you to turn on/off template path hints.
Remember to clear your cache
source: https://support.sweettoothrewards.com/entries/21255937-How-do-I-turn-on-template-path-hints-
I am not sure about Joombla, but you can "Turn on Template Path Hints" to identify blocks.

Magento product with different options doesn't change price

I've simple products in my magento store with custom options that have different prices. Upon selecting one of the given options e.g size, the total price doesn't change and stay the same. However if items purchased in shopping cart it shows correct price (base price+additional amount) I presume there's some javascript issue in my custom theme as when i changed the template to default it started to work normal. Any ideas what could be the possible issue and where should i be looking to sort this issue out.
Sounds more like a standard JavaScript error than something related directly to Magento. If I had to guess at random I'd say your theme is using jQuery (or another alternative), that is clashing with Prototype as it's not being ran in safe mode. To debug this, open up your site in a copy of FireFox with the web developer toolbar extension installed. In the top right hand corner of the page there are three circular icons. If the far right one is a red cross, there is a JavaScript error, clicking on the icon will tell you what the error is.

Resources