Hi, I had problem the other other day which I posted on here but was struggling to work it out. In looking around I noticed it was quite a common problem where there were similar issues to mine.
Here was my problem
My attributes are set up as follows:
Weight (kg)
250g £4.50
500g £9.00
750g £13.50
1kg £18.00
2kg £36.00
The problem I'm having is that the prices above are total prices and the base price of £4.50 is being added on when I add to the cart.
so if you select 500g £9.00 it will add on £4.50 when added to the cart and total the price at £13.50. I don't want this to happen as the price should be £9.00 in the cart.
I could display attributes like this
Weight (kg)
250g
500g +£4.50
750g +£9.00
1kg +£13.50
2kg +£18.00
and that would only add the correct amount onto the base price, however my client requires that i display the total price on the attributes.
After alot of fiddling around I finally found the solution to this and felt it necessary to share it with other zen cart users as its not clear in FAQ.
If your adding prices by attributes and don't want the base price to be included in the price when added to the cart then you need to do the following.
Click on Catalog > Product Price Manager in the admin.
Find the category with that displays your product from the dropdown menu.
Click on the relevant product and 'display'
Click on 'edit' (not 'edit product')
On 'Priced by Attributes' select 'Yes'
Clcik on 'update' - this will then add the lowest priced attribute together with the base price - which we don't want. So what we need to do here is
Clcik on 'edit product'
Then set the price of the product to zero ( 0 )
Go to catalog > attributes controller
Select the category containing your product.
Select the product and display
Edit the product
Then make sure 'Include in Base Price
When Priced by Attributes' is set to 'Yes' on all your product attributes.
This should then ensure when the product is added to the cart (when displaying the full price on attributes and not the difference) the correct price is added and displayed and not attributes price + base price.
Hope this helps people as I was tearing my hair out over this so please share where needed.
Nick
Bookmarks