Magento special price is showing zero by default - php

I'm working on a site in magento where all product's special prize is showing zero by default, though I didn't set any special price for products.
for example,it showing->
Regular Price: $755.00
Special Price: $0.00
how to hide those special prices and make visible only for those products where special price is applicable? otherwise the default price should be shown.

You may get solution for your question in magento forum.
Please check below link:
http://www.magentocommerce.com/boards/viewthread/76338/
You may refer SO Link also:
Hide Magento Regular Price if tiered pricing exists on product page

I have just checked on my local Magento installation if i add 0 in special prices while editing a product and do not even select a date, it start showing on the frontend as in your case.
So i bet you need to remove all special prices which must be set as 0 from admin panel by editing all products showing this behavior.
Also try to clear all cache, and index site.

Related

How to set special price to products and options Globally in OPENCART 2.2

I need a special price to be applied in all products and options in store to -20%. I want to apply the special price to all products and options in store globally. I have not found any plugin that supports special price including options.
I have checked some extensions but all show the global discount in the checkout page. I want to show it in the product details page based on the product price.
So i have to do it manually by editing catalogue/product and adding a global discount in both product price and options price. but i am not very sure how to do it.
Thank you.
The plugins are available for that You can go through opencart.com marketplace and search as per your requirements.
The plugins such as All in one products block,Special pro etc.I
think its fulfill your requirements.

Adding configurable products to cart using default values in Magento

All the products in the magento site are configurable products. The add to cart button works okay in the product page.
My problem comes in when I try to add the product to the cart from the compare window, the wishlist page or related products, it doesn't add the product to the cart for the obvious reason that there is no selected option on the dropdown attribute I've added(product size).
Anyway, how can I add the product to the cart from these windows using the product with the smallest size as the default value so that the customer wouldn't be redirected to the product page anymore to select a size when the link/button obviously says Add to Cart?
There are 2 solutions.
1°) Display a dropdown selection in every one of these places. To let user choose size.
2°) Define a global rule to define the default size to select (like the smallest in stock, or always the 'M', etc.) you may have a rule for every attribute set if needed.
Then modify these area to show information of the configurable except price and add to cart button that are taken from the "default" simple product, the one with the default attribute value.
!! Be sure to always have a default size (ie. your rule have some 'else'/'catch' part to always find a size even if 'M' doesn't exist or isn't in stock).
There is no code here, choose a solution, try to do it and if you're unsuccessful someone (incl me) will help you.

Magento - Shopping carrt rules not working

When trying to set up a rule in Magento to accomplish this:
X% off specific products when you order Y or more
Its not working. I have followed this link: http://www.magentocommerce.com/wiki/3_-_store_setup_and_management/shopping-cart-price-rule-recipes and its STILL not working.
Here are screen shots showing you i'm not crazy and followed their rules EXACTLY...
Your rule is set up to only allow a discount if there are 3 or more of the products shown here http://i.stack.imgur.com/jBZCa.png, not any set of 3 products
So I was right this can't be done with configurable products. For whatever reason it doesn't detect the child sku's.
This has been confirmed by the Magento Enterprise Team. If there is a change i will update this post.

Price error magento shows old (previous) price when I update the price

When I update the price on my magento site something very very strange happens.
E.g. I have a product with a price of 17.96 and I want to update it to 17.99 so I update the price in the backend and save it. When I look at the front end I see magento makes a special price highlight for it. (I have deleted/ de-activated the attribute special price already to be sure that the special price won't be the problem.)
What could the problem be?
I'm running out of options, I have truncated all the price database and log and /var /cache and so on.
Try to re-indexing your products from admin
system->index management
then click on select All button
and select Reindex Data from Action dropdown and click on Submit button and then check your front end.

Magento featured products include tax

On my homepage for my shop I currently have a featured products area. The problem is it shows the price including the tax rate where throughout the site I've got it set up to display without the tax & then for the the tax to be added on within the cart.
I'm using the following code for my featured products pricing.
<p class="price">£<?php echo Mage::helper('tax')->getPrice($_product, $_product->getFinalPrice(), 2);?>(+VAT)</p>
is there a simple way to force the outcome excluding tax as it seems to be ignoring my general settings?
It also seems to ignore the general rule for decimal places too. If I need to post the full code please just say.
The third parameter of Mage::helper('tax')->getPrice() function indicates if price have to be shown with or without tax. So either set it to null or just drop it.
For the rounding issue please try Mage::helper('core')->currency() instead of Mage::helper('tax')->getPrice(). So your final code should look like this:
echo Mage::helper('core')->currency($_product->getFinalPrice());

Categories