Skip to main content

Customfield in Costomers profile

More
10 years 3 months ago - 10 years 3 months ago #241578 by Nowweb
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6

Hi there

how do i get a view to the custom field "Vat" in the costomers profile?
When registre, they have to use their VAT number.
But how do i see the VAT number in the Costomer profile

Best regards
Brian
Last edit: 10 years 3 months ago by Nowweb.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #241583 by nicolas
Hi,

You need to add the {address_vat} tag corresponding to your custom field in the address_template file for your backend template and that will do it.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #241971 by Nowweb
I am not sure where i find that.
I am using isis as administrator template
It is in the administrator i want to see it.



Can you guide me in the right way ?

Best regards
Brian
Last edit: 10 years 3 months ago by Nowweb.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242012 by nicolas
Hi,

I already told you what to do in my previous message.
You can edit the address_template view file via the menu Display>Views. Search there for it and edit it for the isis template. You'll see, it's really easy to do.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242036 by Nowweb
Hi Nicolas

I have the {address_vat} in frontend, but it do not show up in the backend.
You are absolutely right, it is very easy.

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242112 by Nowweb
This is what i have in the address_template.php from frontend.
But it still dont show in the backend, where do i find the code, so it can be showed there to ?
Code:
<?php /** * @package HikaShop for Joomla! * @version 2.6.3 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?>{address_company} {address_title} {address_firstname} {address_lastname} {address_street} {address_post_code} {address_city} {address_state} {address_country} CVR: {address_vat} <?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?>

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #242129 by lousyfool
So, you edited the view for the frontend.

Now look again what Nicolas was saying... and note the bold words:

You can edit the address_template view file via the menu Display>Views. Search there for it and edit it for the isis template. You'll see, it's really easy to do.


And you'll see that Isis is the backend template. Yup, changes in the view for the backend template will be affecting the backend, indeed.

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 3 months ago by lousyfool.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242130 by Nowweb
As you can see here, i have NO adress_template in the isis.
How and where do i find it?

Best regards
Brian

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242132 by lousyfool
Not if you're looking under template "jooswatch-v3-5", whatever that is.

"Isis" is spelled I-S-I-S. You can also select it in the "All templates" dropdown,

Just in case you're still unsure what it should look like:


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #242135 by Nowweb
Okay i try again.
Show me where the adress_template is.

The image is from front&beckend selction and the selection of adress
I am not using time for quistions if i can see the the solution.

Best regards
Brian
Last edit: 10 years 3 months ago by Nowweb.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242136 by lousyfool

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #242139 by Nowweb
Thanks alot.

Best regards
Brian

Please Log in or Create an account to join the conversation.

Time to create page: 0.218 seconds
Powered by Kunena Forum