Author Topic: [SOLVED] Problems with tax calculation view on front-end  (Read 5881 times)

remeedella

  • Jr. Member
  • **
  • Posts: 62
Re: Problems with tax calculation view on front-end
« Reply #15 on: October 10, 2012, 23:51:48 pm »
PM'd

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Problems with tax calculation view on front-end
« Reply #16 on: October 11, 2012, 00:32:49 am »
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

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Problems with tax calculation view on front-end
« Reply #17 on: October 11, 2012, 00:34:46 am »
Image...


[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

  • Jr. Member
  • **
  • Posts: 62
Re: Problems with tax calculation view on front-end
« Reply #18 on: October 11, 2012, 02:09:12 am »
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

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Problems with tax calculation view on front-end
« Reply #19 on: October 11, 2012, 02:32:28 am »
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

  • Jr. Member
  • **
  • Posts: 62
Re: Problems with tax calculation view on front-end
« Reply #20 on: October 11, 2012, 03:22:15 am »
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

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Problems with tax calculation view on front-end
« Reply #21 on: October 11, 2012, 03:28:30 am »
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

  • Jr. Member
  • **
  • Posts: 62
Re: Problems with tax calculation view on front-end
« Reply #22 on: October 11, 2012, 03:32:02 am »
that was it!
Love you bytelord

bytelord

  • Nikos
  • Global Moderator
  • Full Member
  • *
  • Posts: 2369
Re: Problems with tax calculation view on front-end
« Reply #23 on: October 11, 2012, 03:41:05 am »
Nice :)
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!