-
3 Attachment(s)
Price not getting displayed correctly; with attributes
Hi,
I have used radio buttons to price a product, based on its sizes.
So in the pricing screen I have kept the price as 0. This is an exempted product, hence I have created a new tax class called "no vat" & mentioned the rate as 0%.
attaching the screen shot for the same:
Attachment 14208
Next in the attribute section I have done the following setting :
Attachment 14210
On this category I have put a discount of 10% thru salemaker.
But, if you see the website - the amount next to radio button has not taken the discount, whereas the amount next to the price is showing the discount.
Another funny thing is that despite mentioning "no vat", a vat of 5.5% is added on each of these products in the attribute window. I have highlighted that in the image above.
I have a vat category of 5.5%, but clearly I have not defined it here.
I have no clue what to change where. Please help !:no:
-
Re: Price not getting displayed correctly; with attributes
-
Re: Price not getting displayed correctly; with attributes
What price is displayed on the public side of things, not admin screen?
-
Re: Price not getting displayed correctly; with attributes
I am pretty sure that I have found the issue for that, I just need to test a little more ...
Is there anywhere else you see a problem on the Product Tax/No Tax issue besides the Attributes Controller?
I will try to finish testing this fix as soon as I can and get the fix for v1.5.1 as I have been working on fixes for v1.5.3 ...
-
1 Attachment(s)
Re: Price not getting displayed correctly; with attributes
@ RixStix - by mistake I have attached wrong image. The last one was meant to be the site image. Here it is :
Attachment 14215
-
Re: Price not getting displayed correctly; with attributes
@ RixStix - by mistake I have attached wrong image. The last one was meant to be the site image. Here it is :
Attachment 14215
-
Re: Price not getting displayed correctly; with attributes
@ Ajeh, Thank you so much !
There are only two categories; on my site; where there is no tax. One of them is books and the other these. I do not have attributes on books, so can't see any issue there.
If you want me to do some testing at my end, would be happy to help :)
-
Re: Price not getting displayed correctly; with attributes
@ Ajeh, Thank you so much !
There are only two categories; on my site; where there is no tax. One of them is books and the other these. I do not have attributes on books, so can't see any issue there.
If you want me to do some testing at my end, would be happy to help :)
-
Re: Price not getting displayed correctly; with attributes
devyani ... pretty positive I will have your solution tomorrow after I wake up and have some coffee ... :)
Your issue is actually more of a "proper display" problem and not an error of bad or damaged code and does not affect you store, but is wrong and a pain in the admin ...
Please let me know if you have seen this anywhere else in your admin or your store, besides the attributes controller so that I can give you those fixes when I put the fix together for you on the Attributes Controller ...
NOTE: This will also be fixed in our next release and I am surprised as heck that no one has reported this until now ... thanks for the excellent catch! I will get you the solution quick as I can tomorrow but it is 3:14am here and I gotta snooze a bit first ... :sleep1:
-
Re: Price not getting displayed correctly; with attributes
To fix the Attributes controller to display the Tax or No Tax on a Product, edit the file:
/your_secret_admin/attributes_controller.php
Change the code around line 1222 and add the code in RED:
Code:
<?php
$current_options_name = '';
// get products tax id
$product_check = $db->Execute("select products_tax_class_id from " . TABLE_PRODUCTS . " where products_id = '" . $products_filter . "'" . " limit 1");
// echo '$products_filter: ' . $products_filter . ' tax id: ' . $product_check->fields['products_tax_class_id'] . '<br>';
while (!$attributes_values->EOF) {
$current_attributes_products_id = $attributes_values->fields['products_id'];
Change the code around line 1594 and add the code in RED:
Code:
$attributes_price_final = $currencies->display_price($attributes_price_final, zen_get_tax_rate($product_check->fields['products_tax_class_id']), 1);
Change the code around line 1596 and add the code in RED:
Code:
$attributes_price_final_onetime = $currencies->display_price($attributes_price_final_onetime, zen_get_tax_rate($product_check->fields['products_tax_class_id']), 1);
Change the code around line 1629 and add the code in RED:
Code:
$new_attributes_price = '|' . $currencies->display_price($new_attributes_price, zen_get_tax_rate($product_check->fields['products_tax_class_id']), 1);
Now check to see if the Product without tax displays in the Attributes Controller right and check it a Product with tax displays in the Attributes Controller right ...
-
1 Attachment(s)
Re: Price not getting displayed correctly; with attributes
Thanks Ajeh, I will try right away !
Also, another thing that I noticed is about the priority of the different taxation. So, If I have assigned a particular product to a particular tax type, the other tax should not be added. It is doing that. But the final invoice display shows all the three taxes.
Attaching an example : Attachment 14216
My website is : www.bambino.co.in
Thanks !
-
Re: Price not getting displayed correctly; with attributes
Thanks Ajeh, I will try right away !
Also, another thing that I noticed is about the priority of the different taxation. So, If I have assigned a particular product to a particular tax type, the other tax should not be added. It is doing that. But the final invoice display shows all the three taxes.
Attaching an example : Attachment 14216
My website is : www.bambino.co.in
Thanks !
-
Re: Price not getting displayed correctly; with attributes
Hi Ajeh,
Sorry for replying so late.
I had another ccAvenue error that was to be fixed. Hence could not try this earlier.
I tried this fix, but there is no change.
Please let me know if you need more information.:blink:
-
Re: Price not getting displayed correctly; with attributes
You are showing the Orders in the Admin, if I am not mistaken ...
The changes that I posted should fix the display in the Attributes Controller ... are those working in the Attributes Controller now?
-
Re: Price not getting displayed correctly; with attributes
Oops ! I am such a nuthead.
Of course if you ask me to make changes in the admin folder, the effect would be on the admin side !
I will check it rightaway
-
2 Attachment(s)
Re: Price not getting displayed correctly; with attributes
Ok. So the prices are displayed correctly now. But the main problem was that the attributed price is not taking the discounts on that category. I am attaching the screen shot of the web page for that product.
Attachment 14229
This is the updated admin setting
Attachment 14230
If you can see , next to product listing the "priced by attributes" is coming in red with correct price. But with the radio buttons, its not getting reflected on the site
Thank you for looking into this...
-
Re: Price not getting displayed correctly; with attributes
What are your settings in the Sale Maker that you are using?
If you edit the Product for Super Dry Sheets Plain Blue, what is the master_categories_id set to?
If you edit the Product for the Super Soft PRINTED SHEETS what is the master_categories_id set to?
NOTE: with SaleMaker, Sales are set to Products that use the Category that is set in SaleMaker that uses that Categories categories_id as the master_categories_id ...
This means if a Product is "Linked" to a SaleMaker category, the Product does not get the proper settings for the SaleMaker discount ...
-
2 Attachment(s)
Re: Price not getting displayed correctly; with attributes
Quote:
Originally Posted by
Ajeh
What are your settings in the Sale Maker that you are using?
---- I am using the salemaker to have a sale of 10% off on category "Bed protectors"
If you edit the Product for Super Dry Sheets Plain Blue, what is the master_categories_id set to?
---- The product is set for master category - "Bed protectors"
If you edit the Product for the Super Soft PRINTED SHEETS what is the master_categories_id set to?
---- The product is set for master category - "Tinycare"
I am not sure but I think the salemaker is doing its job, otherwise I would not have got the display ( marked in circle) as in the image below.
Attachment 14234
I have done similar stuff for another sub-category - nappies. Its working fine here. Attaching the picture for your reference.
Attachment 14235
Not sure what I am missing !
-
Re: Price not getting displayed correctly; with attributes
The Muslin Triangle is showing the prices while the Plain Blue is not ...
What is the master_categories_id for the Muslin Triangle?
What is the master_categories_id for the Plain Blue?
What are the settings on the SaleMaker set to for the Muslin Triangle Category?
What are the settings on the SaleMaker set to for the Plain Blue Category?
Something is different between the two either on the Product settings or the SaleMaker settings ...
Do both the Muslin Triangle Category and the Plain Blue Category only have 1 SaleMaker set to them?
-
Re: Price not getting displayed correctly; with attributes
That's what even I am trying to understand...
Can I send the screenshots of these settings ? Both the products have different master categories.
Bu the procedure I used is same.
-
Re: Price not getting displayed correctly; with attributes
It might help to see the Product page on an edit for each and the SaleMaker settings for each ...
There is just something not set right causing the issue but so far, I cannot pinpoint it ...
-
4 Attachment(s)
Re: Price not getting displayed correctly; with attributes
So here they are :
Product settings for Muslin Triangle :
Attachment 14238
Salemaker setting for Tinycare ( Master category for Muslin traingle)
Attachment 14239
Product setting for Plain blue :
Attachment 14240
Salemaker setting for Bed protector ( Master category for Plain Blue)
Attachment 14241
-
Re: Price not getting displayed correctly; with attributes
Hi,
I am not able to solve this.
Please spare some time to look into this :(
Thanks !
-
Re: Price not getting displayed correctly; with attributes
In SaleMaker, the checked Categories have a:
waring about 2 sales already include this category
on that line should be a (more Info) ...
Click that and see which 2 SaleMaker sales are set on Bed Protector ...
On SaleMaker settings a Category should only have 1 SaleMaker sale set on it ...
-
1 Attachment(s)
Re: Price not getting displayed correctly; with attributes
Actually more info was there.. I had cropped the picture to fit in the relevant info. Resending.
Also, I have removed one sale from there. Please have a look.
Attachment 14268
-
Re: Price not getting displayed correctly; with attributes
Also, yesterday, I have set up one more product , with attributes. The same issue is coming.
The only change I can see is that Tinycare products ( the ones that is showing discount properly with attributes) was done under 1.3.9h.
And the other two after upgrade.
The link to the new product : http://bambino.co.in/toys-educationa...be-p-2222.html
-
Re: Price not getting displayed correctly; with attributes
Any help ? If you can tell me; from your experience where I should look for ; I would be greatful !:please:
Its just that now any new product I add with attributes; I am getting the same issue.
My site - www.bambino.co.in
The latest issue is with this product - http://bambino.co.in/toys-educationa...be-p-2222.html
-
Re: Price not getting displayed correctly; with attributes
Hi,
Please give me some input. As now I am not able to add any new products with attribute pricing :(
-
Re: Price not getting displayed correctly; with attributes
Let's start over on figuring this out ...
How many SaleMaker sales do you have that are active?
If you temporarily turn of the SEO/rewites, does anything change?
If you temporarily switch to the Classic Template, does anything change?
-
Re: Price not getting displayed correctly; with attributes
What happens if you edit the SaleMaker sale and set it to:
|
Apply SaleDeduction to Specials Price - Otherwise Apply to Price |
-
Re: Price not getting displayed correctly; with attributes
:clap::jump::bow:
You are simply "Oba-san" truly !
Its just perfect now. I never realised the meaning of these options, and kept it at the default.
Thank You again !
-
1 Attachment(s)
Re: Price not getting displayed correctly; with attributes
Hi, Can I ask for one more help ?
At this point the radio buttons are showing the discounted price :
Attachment 14323
Is it possible to have the MRP also next to it ?
-
Re: Price not getting displayed correctly; with attributes
Glad to hear your SaleMaker is working now with the right settings ... :smile:
I am not familiar with the MRP add-on so you might post on the support thread for it to see how this can be done ...