News:

Looking for documentation? Take a look on our wiki

Main Menu

[SOLVED] Problems with tax calculation view on front-end

Started by remeedella, October 07, 2012, 07:03:29 AM

Previous topic - Next topic

bytelord

Because uses td/tr is a little bit messy...

So the only i can do is the following as attached.

You will place the following style inside you css code attributes

.cart-view .vmshipment_ups {
   float: right;
    line-height: 100px;
    text-align: center;
    vertical-align: middle;
}

inside your custom template edit the file your_joomla_folder/templates/your_joomla_template/com_virtuemart/cart/default_pricelist.php, around line 316 (i dont know the line in your custom template)
remove the line that have only the code
<br/> 

That <br/> changes line ... so we want the "change shipment link" be is the same align so price be also in the same align

I am using "line height" at CSS as a trick to to align vertical the UPS Standard. The other payment i couldn't selected instead i change country to US.

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!

bytelord

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!

remeedella

Hello, thank you for showing me you are able to get it working!

I applied the css changes you mentioned in my main joomla css template file. I do not quite understand step 2 "inside your custom template edit the file your_joomla_folder/templates/your_joomla_template/com_virtuemart/cart/default_pricelist.php, around line 316 (i dont know the line in your custom template)
remove the line that have only the code
<br/>

That <br/> changes line ... so we want the "change shipment link" be is the same align so price be also in the same align"

Can you better explain this to me, or, I attached my default_pricelist.php file for you.

Thank you so much for your help thus far, you've been excellent!

[attachment cleanup by admin]

bytelord

yes,

if you take a look on the attached photo the "change shipment link" is in the same align with the rest of the title of the shipment name.

So, i comment that line i didn't delete it, is the line 247.

Regards



[attachment cleanup by admin]
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!

remeedella

which default pricelist file did you attach this time? Is that mine after editted? I tried it and while it did fix my alignment as I liked, it removed the change shipment link and now if you go back to cart normally a lot is missing. Checkout Now is missing so it breaks this way

bytelord

Yours, but i had a mistake o the commented line so the layouts breaks

here is the right one, same change, just forgot a "-"
:)


[attachment cleanup by admin]
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!

remeedella


bytelord

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!