News:

AbanteCart v1.4.2 is released.

Main Menu

Contact Form

Started by Nuno Neff, October 05, 2024, 07:49:07 AM

Previous topic - Next topic

Nuno Neff

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?

abolabo

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.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Nuno Neff


Forum Rules Code of conduct
AbanteCart.com 2010 -