Post by helenmarie » Tue Aug 24, 2010 10:12 pm

Hello

I am entering a number in the modules admin to limit the amount of specials shown in the box but it isnt changin anything. Instead, every single product that has a 'specials' price is showing so teh box is getting extremely long!

How do I fix this?

Thanks,
Helen
Last edited by i2Paq on Tue Aug 24, 2010 11:30 pm, edited 1 time in total.
Reason: Topic moved

User avatar
New member

Posts

Joined
Sat Nov 07, 2009 1:05 am

Post by Qphoria » Tue Aug 24, 2010 10:56 pm

upgrade :) Was fixed in 1.4.8

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by helenmarie » Tue Aug 24, 2010 11:17 pm

Aaaw damn............ im on 1.4.7 and with all the alterations iv had done I couldnt face having to upgrade right now.

Is there a code tweek I can do to fix it?

User avatar
New member

Posts

Joined
Sat Nov 07, 2009 1:05 am

Post by Qphoria » Tue Aug 24, 2010 11:47 pm

Perhaps.

1. EDIT: catalog/controller/module/special.php

2. FIND:

Code: Select all

$results = $this->model_catalog_product->getProductSpecials($this->config->get('special_limit'));
3. REPLACE WITH:

Code: Select all

$results = $this->model_catalog_product->getProductSpecials('pd.name', 'ASC', 0, $this->config->get('special_limit'));

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by helenmarie » Wed Aug 25, 2010 9:42 pm

Thank you, ;D

User avatar
New member

Posts

Joined
Sat Nov 07, 2009 1:05 am
Who is online

Users browsing this forum: No registered users and 42 guests