News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Weird "<br>" in the cart..how to get rid of it?

Started by Otto0815, November 02, 2012, 01:05:17 AM

Previous topic - Next topic

Otto0815

Hi,

i don't know if other user also have this Problem...

in the cart, where the salesprice ist displayed, firebug shows me an <br>; but i dont know from where it is......tried different templates for "default_pricelist" but nothing changes...

This is what firebug shows me:

<td align="right" colspan="1">
<span class="line-through"></span>                    <----------this is transparent
<br>                                                                    <-----------this is the "weird <br>"
<div class="PricesalesPrice" style="display : block;">
<span class="PricesalesPrice">1,26 €</span>
</div>
</td>
</tr>

I've also attached an image, so you can see it on your own....


[attachment cleanup by admin]

bytelord

Hello,

You could edit or create a template override for default_pricelist.php and remove or change the template the way you want.

template overrides: http://forum.virtuemart.net/index.php?topic=98505.0
Using the template system: http://dev.virtuemart.net/projects/virtuemart/wiki/Hints_for_the_use_of_the_template_system.

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Otto0815

#2
Yes, thanks, i know it....but this has nothing to do with my discribed problem,or?


even in the confirmation mail is in the first line the price with a line through it and in the second line the final price (wich is the same)...

In the VM configarion i've got only salesprice activatet and coupon using off.....

so from where comes this second price (wich is transparent in the cart)



bytelord

oh, you give more emphasis to <br> and i was thinking is what you mean,
so Price column on the left is not showing as i try to see on that image (little bit small)? Also shows base price all the time without there is a discount with a line-through also? Then use in tax rules "Vat Tax per product" Also from the backend Configuration -> Prices enable also [New baseprice modified by chosen product variant]

btw, You forgot to mention your joomla and vm versions, i assume 2.0.12f?

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

Otto0815

Ah, ok Thank you....

I've had tax per product and not vat tax per product......now it works.....