Post by aelgate3 » Wed Jul 02, 2014 3:19 am

Hello
My first question is that. I have a module and I know exactly where I need to change it but I am not a php developer. I just know html and css so I understand little bit where I need to change on PHP

$data = array(
'sort' => 'pd.name',
'order' => 'DESC',
'start' => 0,
'limit' => '5'
);

Can I make anything so to choose which product I want to display on that module?
*I don't have any problem if I can change it manually editing the file every time out of administrator. I just need a way to change it.

Also I have a project that I want to do for my Opencart. I can give 50$. For more information send me your skype and I will explain you..
Thanks

New member

Posts

Joined
Fri Mar 23, 2012 11:47 am

Post by aelgate3 » Wed Jul 02, 2014 3:28 am

$this->load->model('tool/image');
$this->data['text_auction'] = $this->language->get('text_auction');
$this->data['products'] = array();

$data = array(
'sort' => 'pd.name',
'order' => 'DESC',
'start' => 0,
'limit' => '5'
);


that is the correct code

New member

Posts

Joined
Fri Mar 23, 2012 11:47 am

Post by aelgate3 » Wed Jul 02, 2014 3:38 am

something like that need to be

'filter_category_id' => $subcat['category_id'],

but how can I show a specific category???

New member

Posts

Joined
Fri Mar 23, 2012 11:47 am

Post by melbagnato » Wed Jul 02, 2014 3:52 pm

Hi aelgate3,

I've PM'd you my skype details. I'll be able to do this for you.

- Mel

http://online.enterpriseconsulting.com.au

Site with OpenCart extensions & code downloads, many new extensions coming soon!
Follow us on twitter for more updates

Image


User avatar
Active Member

Posts

Joined
Wed Jan 13, 2010 1:39 pm
Location - Melbourne
Who is online

Users browsing this forum: Bing [Bot] and 65 guests