Search found 395 matches

Search found 395 matches

Re: Change logo URL

Hi,
the logo URL is defined here:

Code: Select all

catalog\controller\common\header.php
$data['home'] = $this->url->link('common/home');
You can change it to your desired URL:

Code: Select all

$data['home'] = 'your-URL';

Jump to post
  • Wed Oct 17, 2018 3:23 am
  • Replies 1
  • Views 47
Re: show Store owner on contact us page

Hi, In this file: catalog\controller\information\contact.php Find: $this->data['store'] = $this->config->get('config_name'); Add after: $this->data['owner'] = $this->config->get('config_owner'); In this file: catalog\view\theme\your-theme\template\information\contact.tpl Find: <?php echo $store; ?><...

Jump to post
  • Tue Oct 16, 2018 5:48 pm
  • Replies 3
  • Views 96
Re: Get the firstname of the user logged in (in admin panel)

I tried in the controller/common/header.php
I just tested in header.php and it worked. make sure you've cleared caches.

Jump to post
  • Mon Oct 15, 2018 9:57 pm
  • Replies 11
  • Views 226
Re: Get the firstname of the user logged in (in admin panel)

Hi,
admin and catalog are separate. if you want to get the user ID of admin in catalog (front-end), in your controller file use:

Code: Select all

$this->user = new Cart\User($this->registry);
$user_id = $this->user->getId(); // Returns null  or user ID

Jump to post
  • Mon Oct 15, 2018 9:22 pm
  • Replies 11
  • Views 226
Re: SEARCHING EXTENSION

Hi, You don't need an extension. you can create a layout for each product, then assign different slideshow or carousel to each layout. read more: https://forum.opencart.com/viewtopic.php?t=42066 https://tonytemplates.com/blog/how-to-create-different-layouts-for-each-page-on-your-site-in-opencart-v-2...

Jump to post
  • Sat Oct 13, 2018 1:46 pm
  • Replies 4
  • Views 139
Re: Get the firstname of the user logged in (in admin panel)

Hi,
In your controller file, use it:

Code: Select all

$user_name =  $this->user->getUserName();

//echo $user_name;

$this->load->model('user/user');
$user_info = $this->model_user_user->getUser($this->user->getId());

//print_r($user_info);

Jump to post
  • Sat Oct 13, 2018 2:00 am
  • Replies 11
  • Views 226
Re: How to make messages inbox

Hi,
I guess you are talking about contact us page?

Jump to post
  • Thu Oct 11, 2018 12:44 pm
  • Replies 2
  • Views 82
Re: Making new theme with small css changements but can't find opencart.css and don't know how to override its css

Hi,
It's here:

Code: Select all

catalog/view/javascript/jquery/swiper/css/opencart.css
You can override it in your stylesheet like this:

Code: Select all

.swiper-viewport {
  margin:0 0 10px !important;
}

Jump to post
  • Sat Oct 06, 2018 4:52 am
  • Replies 3
  • Views 131
Re: Contact Us messages

Hi,
it sends the message via email.

Jump to post
  • Sat Oct 06, 2018 1:42 am
  • Replies 3
  • Views 86
Re: How to add a read more break point into product description ?

Hi,
I didn't publish this extension yet, if you need it please contact me via email: sabeti05 at gmail.com
Thanks

Jump to post
  • Tue Oct 02, 2018 6:15 pm
  • Replies 8
  • Views 220
Re: How can I change the text in the search mobile version?

You can do that with jquery:

Code: Select all

if ($(window).width() < 992) {
    $('[name="search"]').attr('placeholder', 'write your text here');
};

Jump to post
  • Fri Sep 28, 2018 8:01 pm
  • Replies 3
  • Views 124
Re: No options on checkout

Hi,
There are errors in browser console:
SyntaxError: missing } after function body
{ opened at line 405, column 1374
Did you install something new?

Jump to post
  • Sat Sep 22, 2018 3:51 am
  • Replies 5
  • Views 187
Re: Add product to a customer's cart by Admin

straightlight wrote:
Tue Sep 18, 2018 3:36 am
About time this type of extension gets released. Cheers!
Thank you.

Jump to post
  • Tue Sep 18, 2018 4:36 am
  • Replies 5
  • Views 159
Re: Just Purchased - Popup

Hi,
I've released a commercial extension yesterday, please check it here:
Real Time Notifications
https://www.opencart.com/index.php?rout ... n_id=35052

Thanks

Jump to post
  • Fri Sep 14, 2018 2:36 am
  • Replies 1
  • Views 96

Search found 395 matches