Magento product with different options doesn't change price - magento

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.

Related

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.

Joomla/Virtuemart scripts not working on the product detail view

I have a Joomla 2.5.20 site with VirtueMart 2.6.4. I'm creating a template that among other things uses jQuery and Bootstrap. While the site works well in general, including VM's cart, I'm facing problems with the product detail view: no script from VirtueMart seems to be working: if I click on a thumbnail image, it won't change the main image. If I click on the main image, it will open in a new window instead of opening with Fancybox. The rating control won't allow me to select a star to rate the product.
I've been searching all over and every answer I've come up with say it's a jQuery conflict. While jQuery (v. 1.8.0) is there, I don't see where the conflict could possibly be.
The site is:
http://www.dailymood.com.mx
The URL to a sample where it's not working:
http://www.dailymood.com.mx/catalog/mood/20014moodbarbcrh-detail
Any help will be really appreciated. Thanks in advance!

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.

Subtotal, Shipping, Discount and Grand Total Missing in 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.

display custom attributes on Virtuemart browse page

I need the browse page to show quantity box, custom attributes, and Add to Cart button all together.
It doesn't show it at all. Only when you go to the product page, you can see them.
Any solutions?
Thanks, Ahmed.
Ahmed, you'll have to modify the template directly to do something like that. VM uses a large number of template files written in PHP. If you're using the default template, you can find them here:
components/com_virtuemart/themes/default/templates/
From there, it takes a little looking around to figure out exactly which template you need to edit. If you need to edit a browse template, my recommendation is go to your VirtueMart Administration in Joomla backend and look at Admin | Configuration | Site | Layout to get an idea of which files you're using. It will probably say "Default" in the dropdown, with a Configuration link directly below. Click that link and look at the very first item, Product List Style. From the description of your layout desires, you might be using Flat Product List.
The main file for editing that layout is:
components/com_virtuemart/themes/default/templates/browse/includes/browse_listtable.tpl.php
If you're a programmer, you should be able to look thru the code and correctly guess which code elements are being used to display VM product details. If you're not a programmer, you can still fake it by commenting out sections to see what "goes away" on the actual product page. Use what you learn to strip out useful code and move it around.
Another useful file to pull VM product code from is:
components/com_virtuemart/themes/default/templates/product_details/flypage.tpl.php
This is the actual product view (unless it's been changed in VM config), and contains pretty much all the common code elements that extract product details. You should be able to lift some of that code and place it where it needs to go in other forms.
Good luck with all of this. I find VM coding painful, and community support in the VM forums can be... sparse...

Resources