VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Kuubs on January 16, 2020, 09:42:42 AM

Title: Custom fields table, move the valuta sign before the price field
Post by: Kuubs on January 16, 2020, 09:42:42 AM
Hello,

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

(https://i.imgur.com/JPxIef9.png)
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Jörgen 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
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Kuubs on January 16, 2020, 12:41:04 PM
Quote from: Jörgen 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

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
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Jörgen 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
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Studio 42 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 ?
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Jörgen 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
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Kuubs on January 17, 2020, 17:03:54 PM
Quote from: Jörgen 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

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.
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Jörgen on January 18, 2020, 10:42:28 AM
Quote from: Jörgen on January 16, 2020, 14:37:29 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 (https://forum.joomla.org/viewtopic.php?t=895566)


Jörgen @ Kreativ Fotografi
Title: Re: Custom fields table, move the valuta sign before the price field
Post by: Kuubs on January 29, 2020, 17:36:28 PM
Quote from: Jörgen on January 18, 2020, 10:42:28 AM
Quote from: Jörgen on January 16, 2020, 14:37:29 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 (https://forum.joomla.org/viewtopic.php?t=895566)


Jörgen @ Kreativ Fotografi

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