Author Topic: Custom fields table, move the valuta sign before the price field  (Read 1559 times)

Huubs

  • Jr. Member
  • **
  • Posts: 235
Hello,

Is it possible to move the valuta sign from the end of the field to the front of the field?


Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2996
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Custom fields table, move the valuta sign before the price field
« Reply #1 on: January 16, 2020, 12:17:21 pm »
Why would You do that?
This looks like something from the backend, customers never will see this !
But of course can You modify the BE admin views as well as the FE views.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Huubs

  • Jr. Member
  • **
  • Posts: 235
Re: Custom fields table, move the valuta sign before the price field
« Reply #2 on: January 16, 2020, 12:41:04 pm »
Why would You do that?
This looks like something from the backend, customers never will see this !
But of course can You modify the BE admin views as well as the FE views.

Jörgen @ Kreativ Fotografi

Because it's clearer for the administrator that way.

I tried looking at the BE views but it seems to me that this is done via javascript, but I cannot find where the "design" is located

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2996
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Custom fields table, move the valuta sign before the price field
« Reply #3 on: January 16, 2020, 14:37:29 pm »
This should be done by normal Joomla template overrides. Since you do not tell us where You have taken this image it is hard to tell you where to look.
The URL usually displays the html view. That is a good place to start.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4362
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Custom fields table, move the valuta sign before the price field
« Reply #4 on: January 16, 2020, 23:14:50 pm »
€ is always displayed after, only $ is displayed before, so i do not understand why this is not clear ?

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2996
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Custom fields table, move the valuta sign before the price field
« Reply #5 on: January 17, 2020, 09:41:01 am »
This is for an ADMINISTRATOR if he does not understand if the currency sign does not sit in the right position who will ?
Fixing this is IMHO a waste of time, but as I said before make an override of the VM view in BE, simple Joomla override coding.

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Huubs

  • Jr. Member
  • **
  • Posts: 235
Re: Custom fields table, move the valuta sign before the price field
« Reply #6 on: January 17, 2020, 17:03:54 pm »
This should be done by normal Joomla template overrides. Since you do not tell us where You have taken this image it is hard to tell you where to look.
The URL usually displays the html view. That is a good place to start.

Jörgen @ Kreativ Fotografi

The image is taken in the new article virtuemart backend, and then when you select a custom field in a dropdown, the table row thats been added is where it is taken.

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2996
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Custom fields table, move the valuta sign before the price field
« Reply #7 on: January 18, 2020, 10:42:28 am »
The URL usually displays the html view. That is a good place to start.
Here is an example, Look out for view and task.:
/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=1887


Start here:
https://forum.joomla.org/viewtopic.php?t=895566


Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Huubs

  • Jr. Member
  • **
  • Posts: 235
Re: Custom fields table, move the valuta sign before the price field
« Reply #8 on: January 29, 2020, 17:36:28 pm »
The URL usually displays the html view. That is a good place to start.
Here is an example, Look out for view and task.:
/administrator/index.php?option=com_virtuemart&view=product&task=edit&virtuemart_product_id=1887


Start here:
https://forum.joomla.org/viewtopic.php?t=895566


Jörgen @ Kreativ Fotografi

I understand but it looks like the rows are added via javascript