Skip to main content

Change Backend Customer Info

More
12 years 6 months ago #146726 by fan4chevy
I am using most current Hikashop business.

I would like to know how I can change in the backend the column 'Customer' from showing their email address to instead showing their 'Name'.

Thank you,

Charles

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

More
12 years 6 months ago #146760 by Xavier
Replied by Xavier on topic Change Backend Customer Info
Hi,

At which place you want to replace that ?
To edit a view you can use the menu Display > Views and edit the desired view in the backend template.

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

More
12 years 6 months ago #147129 by fan4chevy
The column that says 'CUSTOMER' from being email address to instead being the customers name for easier recognition.

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

More
12 years 6 months ago #147136 by Jerome
Replied by Jerome on topic Change Backend Customer Info
Hi,

You have to override the view "backend | your_backend_template | ??? | listing".
Unfortunately it will be difficult to be more precise for the view because you didn't say where you want to change that.
I can suggest the view "order" but it can be in another view. I can't really know.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
12 years 4 months ago #155290 by fan4chevy
basically want to be able to see customer NAME rather than email address

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

More
12 years 4 months ago #155314 by nicolas
Hi,

The name of the Joomla user account of the customer is already displayed in the "Customer" column of the orders listing page (if you're talking about that page). See screenshot:
take.ms/TOJWE
So I'm still not sure if you're talking about that page, or something else, or why you would get the name of the user account already displayed there.

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

More
12 years 4 months ago - 12 years 4 months ago #155336 by fan4chevy
Is there a way to use the first and last name as a field from when they put in their order?

The problem is that my cart is open for non members. So in many cases it only shows email and not user name. It would be best for us if it had customer last and first name field.
Last edit: 12 years 4 months ago by fan4chevy.

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

More
12 years 4 months ago #155351 by nicolas
Then, it probably means that you're using the guest mode, and thus you don't get the user name since you don't have the user account.
You would have to get the name from the address, but that's complex to do...
We'll actually have a solution for that in the next version of HikaShop which is to be released in a few days.

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

More
12 years 4 months ago #155471 by fan4chevy
Yes we are in guest mode as we found we were having many issues with them needing to sign in and make an account. They were finding they were not able to activate the account and we were losing alot of sales.

Now in guest mode the customers are ordering more.

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

More
12 years 4 months ago #155660 by fan4chevy
Just updated to 2.3.1 business and dont see how to get guest name in my order page as mentioned.

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

More
12 years 4 months ago #155774 by fan4chevy
So I upgraded to 2.3.1 business. Can you show me the solution that as mentioned where I can grab the guest name, etc. and put it in the backend order area?

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

More
12 years 4 months ago - 12 years 4 months ago #155694 by nicolas
Then it's either that you don't have any name field in your order addresses, or that you modified the file "listing" of the view "order" via the menu Display>Views before and thus you didn't get the modifications necessary to handle that and you would have to remove your customization of that view file in order to go back to the default view file with the modifications.
Last edit: 12 years 4 months ago by Xavier.

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

More
12 years 4 months ago - 12 years 4 months ago #156013 by fan4chevy
I have it in the order address as can be seen in image attached and I have not modified anything.


here is my listing file:
Code:
<?php /** * @package HikaShop for Joomla! * @version 2.3.1 * @author hikashop.com * @copyright (C) 2010-2014 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?><?php ob_start(); if(version_compare(JVERSION,'1.6','<')){ $title = 'show_page_title'; }else{ $title = 'show_page_heading'; } $titleType='h1'; if($this->module){ $title = 'showtitle'; $titleType='h2'; } if($this->params->get($title) && JRequest::getVar('hikashop_front_end_main',0)){ if($this->module){ $heading = $this->params->get('title'); }else{ $heading = $this->params->get('page_title'); if($this->params->get('page_heading')){ $heading = $this->params->get('page_heading'); } } ?> <<?php echo $titleType; ?>> <?php echo $heading; ?> </<?php echo $titleType; ?>> <?php } if(!$this->module){ if(isset($this->element->category_canonical) && !empty($this->element->category_canonical)){ $canonicalUrl = hikashop_cleanURL($this->element->category_canonical); $doc = JFactory::getDocument(); $doc->addCustomTag( '<link rel="canonical" href="'.$canonicalUrl.'" />' ); } if(($this->params->get('show_image') && !empty($this->element->file_path))|| ($this->params->get('show_description')&&!empty($this->element->category_description))){ ?> <div class="hikashop_category_description"> <?php if($this->params->get('show_image') && !empty($this->element->file_path)){ jimport('joomla.filesystem.file'); if(JFile::exists($this->image->getPath($this->element->file_path,false))){ ?> <img src="<?php echo $this->image->getPath($this->element->file_path); ?>" class="hikashop_category_image"/> <?php } } if($this->params->get('show_description',1)&&!empty($this->element->category_description)){ ?> <div class="hikashop_category_description_content"> <?php echo JHTML::_('content.prepare',$this->element->category_description); ?> </div> <?php } ?> </div> <?php } if(!empty($this->fields)){ ?> <div id="hikashop_category_custom_info_main" class="hikashop_category_custom_info_main"> <h4><?php echo JText::_('CATEGORY_ADDITIONAL_INFORMATION');?></h4> <table width="100%"> <?php $this->fieldsClass->prefix = ''; foreach($this->fields as $fieldName => $oneExtraField) { if(!empty($this->element->$fieldName)){ ?> <tr class="hikashop_category_custom_<?php echo $oneExtraField->field_namekey;?>_line"> <td class="key"> <span id="hikashop_category_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_category_custom_name"> <?php echo $this->fieldsClass->getFieldName($oneExtraField);?> </span> </td> <td> <span id="hikashop_category_custom_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_category_custom_value"> <?php echo $this->fieldsClass->show($oneExtraField,$this->element->$fieldName); ?> </span> </td> </tr> <?php } }?> </table> </div> <?php } } $layout_type = $this->params->get('layout_type'); if(empty($layout_type) || $layout_type=='table') $layout_type = 'div'; $html = $this->loadTemplate($layout_type); if(!empty($html)) echo '<div class="hikashop_subcategories_listing">'.$html.'</div>'; if(!$this->module){ if(!empty($this->modules)){ $html = ''; jimport('joomla.application.module.helper'); foreach($this->modules as $module){ $html .= JModuleHelper::renderModule($module); } if(!empty($html)){ echo '<div class="hikashop_submodules" style="clear:both">'.$html.'</div>'; } } } $html = ob_get_clean(); if(!empty($html)){ ?> <div id="<?php echo $this->params->get('main_div_name');?>" class="hikashop_category_information hikashop_categories_listing_main"> <?php echo $html; ?> </div> <?php } ?>
Last edit: 12 years 4 months ago by Xavier. Reason: Thanks to use [code] [/code] tags

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

More
12 years 4 months ago #156040 by nicolas
Hi,

This is not the order listing view file of the backend but the category listing view file of the frontend.

Could you turn on the debug mode of the joomla configuration and provide the SQL queries debug data of the orders listing page at the bottom ?

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

Time to create page: 0.246 seconds
Powered by Kunena Forum