I have set a speciale price for a product in the backend but when I go to the product page the price appears and then off again. Also in the cart it's not display.
See link what I mean : Link
After seeing your code, find this on line 177:
<?php echo $priceProperties; ?>
And replace with this :
echo Mage::getModel('catalogrule/rule')->calcProductPriceRule($_product,$_product->getPrice());
I believe your theme doesn't take into account the discount. This would be a bug with the theme development.
This is untested (as I don't have full access to your theme) code so let me know if you have any trouble.
Related
I installed a new template on my Magento store and when I got to a product page it shows the price twice? Most of my products are a "simple" Product and I have one "Configuarable" product
Any ideas how I can get rid of one of the prices?
Here is Simple product:
Here is configurable product: (with an option selected)
Any ideas?
I'm running latest 1.9.3.7 and can't find a fix anywhere
You need to check your
app/design/frontend/default/your _theme/temlate/product/view.phtml
1st: inspect find the class or id
2nd: then remove wrong price code
before doing this take a backup of your file
I don't think anyone can help you here unless it's a popular theme people would know. The problem is not in Magento, it's in the theme files. You will need to find the theme file and check the php logic to truly know what is happening there. Best case, contact the theme developer if you purchased it or switch to a new theme.
To find the theme file responsible for printing the price, you can enable template hints. This will show the hints to you and all the customers, so be diligent about doing this live. Secondly, you will need to take a look at the block which encompasses the pricing. When you find the template name, just go to the .phtml file and see what's going on there with the price output.
Edit app/design/frontend/default/your_theme/template/catalog/product/view.phtml
Look for price divs and comment one.
I'm working on a website in Magento 1.9.2. Directly underneath the price on the product pages are links displayed to the reviews and the review-form for that specific product (f.i. 5 review(s) / Add Your Review) When there aren't any reviews available yet there should be a link being displayed 'Be the first to review this product'. Unfortunally this link is not being displayed. The link does show in the tab however.
How can I get the 'Be the first to review this product' link being displayed beneath the price when there aren't any reviews available yet?
Change getReviewsSummaryHtml function last argument to true in catalog/product/view.phtml in your theme.
Code will be as follows:
<?php echo $this->getReviewsSummaryHtml($_product, 'default', true)?>
In my site i am using configurable product and Price is showing at two different place in Product page. One is near product and one is at bottom of all details and i am giving label as "new subtotal". And the both price is changing based on what attribute i am selecting but what i want is to change price at one place only at bottom "New subtotal" label and i want to keep top price is fix even changing the attribute. I tried by doing some changes in view.phtml file to get price using getPrice() but it giving me the fix price at both places. Can anyone please help me.
If you are using magento default code in view.phtml then there will be code <?php echo $this->getTierPriceHtml() ?> which display price with html.
In stead of above, just use $_product->getPrice() to display price without default magento html.
Hop this will help.
I am a novice in Magento and kinda stuck badly here.
My Theme is ready in Magento and I needed a Size selection on my Product Page. So I searched and found out that it is done by having Configurable Product. I did all the steps mentioned here http://www.magentocommerce.com/knowledge-base/entry/creating-a-configurable-product
Few minutes later, I did create a Size dropdown which made me felt that I am not a useless hobo after all; but then reality hit me. The dropdown somehow is showing itself at a very odd position and I don't know how to fix it.
This picture shows it all:-
You can see that it's gone below the image whereas I want it right next to the image. The fact that I am not even able to fix the CSS or front end makes me feel worse.
Hence my question is, how can I bring it back to senses or do some code fixes so that it is shown at the right place.
Magento has a strange way of rendering configurable options on a product page. Basically, when you create a configurable product, you have the option of selecting whether the options fall in container1 or container2 (great naming, eh?) You can adjust this in the product edit screen under Design > Display Product Options In.
However, a much easier solution is to move container2 above container1 in your catalog/product/view.phtml file as all configurable products default to Block After Info Column.
This is the code you're looking to move if you're using CE:
<?php if ($_product->isSaleable() && $this->hasOptions()):?>
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
<?php endif;?>
I am using tier pricing with a new install of Magento. I am running into some problems with removing the "price" when using tier price. When I leave it blank it show $0 and tiered soes not show at all. When I put a number in, it shows and the tier amounts show. I sell item in bulk, so I do not want the "price" attribute to show. How can I hide it? even if I have to put a price and hide it in the back end, thats fine. I only want my tiered prices to show on the details page. Any ideas?
Thanks!!
If you don't want to modify or pollute your template, you can use this extension to hide/remove all kinds of product's price. AND it works for all kind of theme without modify any template or rewrite.
magento connect link: http://www.magentocommerce.com/magento-connect/catalog/product/view/id/22443/
Demonstration: http://demo.magetools.net