AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: Nuno Neff on October 05, 2024, 07:49:07 AM
-
How do I remove my store's address from the contact form, as my store is online only and doesn't have a physical address?
-
you have two ways:
1. change text via hook
public function onControllerPagesContentContact_UpdateData()
{
$that = $this->baseObject;
$that->view->assign('text_address', 'Some your title');
$that->view->assign('store', '');
$that->view->assign('address', 'You new Address here');
}
2. change storefront/view/****/template/pages/content/contact.tpl file (if you have specific template). NOTE: in case when you use "novator" or "default" template your changes will be overridden by future upgrades of core.
-
Thank you abolabo ;)