TomatoCart

TomatoCart Community
Welcome, Guest
Please Login or Register.    Lost Password?

Price Variant
(1 viewing) (1) Guest
Go to bottomPage: 12345
TOPIC: Price Variant
*
#8053
Price Variant 3 Years, 11 Months ago Karma: 3
The Price Variant does not display accurately when someone will login is a dealer or let say have a discount.. But when you buy it and add to cart it will add the accurate price of it.

let say in price variant is $20 for regular user. but when i login as a dealer it must show $15. But it doesnt show $15.. But when you add to cart it will add $15..

Hope u can fixed it asap..
annklein
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8059
Re: Price Variant 3 Years, 11 Months ago Karma: 6
Hi, Ann,

I work with variants, and don't have this problem I believe, I will take a look.
vinbo21
Stay positive
Gold Boarder
Posts: 196
graphgraph
User Offline Click here to see the profile of this user
Gender: Male vinbo21@hotmail.com Location: Netherlands Birthday: 10/25
Last Edit: 2011/01/09 17:49 By vinbo21.
You don't have to be sick to get better
The administrator has disabled public write access.
 
#8335
Re: Price Variant 3 Years, 10 Months ago Karma: 6
Yes, you were right, I have same problem with a special price.

If you make a special price for a product let say 30 ->20% discount. The frontpage is displaying it correctly with discount Oldprice new price.

If you click the product the price is not corrected with the discount

When you add it to cart, the correct price is added.

So, the new price is not displayed in the detail product information TAB.

Regards,
Vincent
vinbo21
Stay positive
Gold Boarder
Posts: 196
graphgraph
User Offline Click here to see the profile of this user
Gender: Male vinbo21@hotmail.com Location: Netherlands Birthday: 10/25
You don't have to be sick to get better
The administrator has disabled public write access.
 
#8637
Re:Price Variant 3 Years, 10 Months ago Karma: 0
Hi,

I have found the same issue. Also when you have a variant and have chosen to display tax throughout the site "incl Tax" it does not display this on the variant either.

By altering the code below found in /templates/glass_gray/content/products/info.php I can get the special and inc tax to show on the variant products.

new TocVariants({
combVariants: $$('tr.variantCombobox select'),
variants: <?php echo $toC_Json->encode($osC_Product->getVariants()); ?>,
productsId: <?php echo $osC_Product->getID(); ?>,
displayQty: <?php echo (PRODUCT_INFO_QUANTITY == '1') ? 'true' : 'false'; ?>,
lang: {
txtTaxText: '<?php echo $osC_Language->get('including_tax'); ?>',
txtInStock: '<?php echo $osC_Language->get('in_stock');?>',
txtOutOfStock: '<?php echo $osC_Language->get('out_of_stock'); ?>',
txtNotAvailable: '<?php echo $osC_Language->get('not_available'); ?>'
}
});


But the alterations I have made stop the variant image from changing on hover or when selected form the drop down. Any help would be appreciated.

Thanks
tobyoc
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#8653
Re:Price Variant 3 Years, 10 Months ago Karma: 6
Interesting. I have tried your code, no succes,,,

The strange thing is, that after loading the page, a moment the include tax and quantity is displayed correctly, see image. After 1 second, they disapear from the cart.




after 1 second, this is the image.....see the difference.




I am also interested in a script that subtact the stock after putting in them in Cart....now you can add the product to cart endlessly.

Regards,
vinbo21
Stay positive
Gold Boarder
Posts: 196
graphgraph
User Offline Click here to see the profile of this user
Gender: Male vinbo21@hotmail.com Location: Netherlands Birthday: 10/25
Last Edit: 2011/01/15 08:28 By vinbo21.
You don't have to be sick to get better
The administrator has disabled public write access.
 
#8655
Re:Price Variant 3 Years, 10 Months ago Karma: 0
Hi,

Sorry I don't think I explained properly, if you comment out the code I posted above

e.g.

<?php
if ($osC_Product->hasVariants()) {
?>

new TocVariants({
combVariants: $$('tr.variantCombobox select'),
variants: <?php echo $toC_Json->encode($osC_Product->getVariants()); ?>,
productsId: <?php echo $osC_Product->getID(); ?>,
displayQty: <?php echo (PRODUCT_INFO_QUANTITY == '1') ? 'true' : 'false'; ?>,
lang: {
txtInStock: '<?php echo $osC_Language->get('in_stock');?>',
txtOutOfStock: '<?php echo $osC_Language->get('out_of_stock'); ?>',
txtNotAvailable: '<?php echo $osC_Language->get('not_available'); ?>',
txtTaxText: '<?php echo $osC_Language->get('including_tax'); ?>'
}
});

<?php } ?>

It then displays the discounted price and the incl TAX. Obviously this stops the details and image from changing on hover or drop down. But point being, this is conflicting and causing it to replace the original script as you have already noticed.

Thanks.
tobyoc
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to top Page: 12345
Moderators: creativegenius

Latest Blog Post

TomatoCart v1.1.7 to v1.1.8 Upgrade Guide!

The upgrade guide is a step-by-step tutorial to help users to upgrade TomatoCart v1.1.7 to v1.1.8. If you have not yet updated to v1.1.7, please review its upgrade guide before applying these changes. [...]

By TomatoCart | august 21, 2012

contact_us

info@tomatocart.com
partner@tomatocart.com
Facebook Google+ Linkedin Twitter

Newsletter Subscription

Fork us on GitHub