Post by baran » Thu Apr 15, 2010 8:57 am

Hi,

I have inserted 15 products in the control pannel.

However, I only can see 10 product at the public side of the store.

I have changed
$data = array(
'sort' => $sort,
'order' => $order,
'start' => ($page - 1) * 10,
'limit' => 10

'limit' => 10 to 20 I still cannot see any differnces.

in admin>controller>localisation>country.php
admin>controller>localisation>zone.php

I hope there is a solution for it.

Thanks for your help

New member

Posts

Joined
Wed Mar 17, 2010 9:33 pm

Post by rph » Thu Apr 15, 2010 10:48 am

'start' => ($page - 1) * 20

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by Qphoria » Thu Apr 15, 2010 10:50 am

"country" has nothing to do with products. You likely didn't add them to the current store. Try using the "copy" feature on one of the working products. Does the copied one show up?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rph » Thu Apr 15, 2010 11:04 am

Ha, didn't even notice he was in the completely wrong spot. :o

/catalog/controller/common/home.php

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(8) as $result)
to

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(20) as $result)
Might be worth putting something in the settings table for this.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by baran » Thu Apr 15, 2010 4:58 pm

rph wrote:'start' => ($page - 1) * 20
Thank you. That is solved the issue.

New member

Posts

Joined
Wed Mar 17, 2010 9:33 pm

Post by baran » Thu Apr 15, 2010 4:59 pm

rph wrote:Ha, didn't even notice he was in the completely wrong spot. :o

/catalog/controller/common/home.php

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(8) as $result)
to

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(20) as $result)
Might be worth putting something in the settings table for this.
This is another solution.. Thanks

New member

Posts

Joined
Wed Mar 17, 2010 9:33 pm

Post by baran » Thu Apr 15, 2010 5:01 pm

Qphoria wrote:"country" has nothing to do with products.

You likely didn't add them to the current store. Try using the "copy" feature on one of the working products. Does the copied one show up?
I had read one of the post. It was mentioned there. That is why I wrote the country. You are right. There was nothing to do with country. Thanks.

New member

Posts

Joined
Wed Mar 17, 2010 9:33 pm

Post by Qphoria » Thu Apr 15, 2010 7:19 pm

rph wrote:Ha, didn't even notice he was in the completely wrong spot. :o

/catalog/controller/common/home.php

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(8) as $result)
to

Code: Select all

foreach ($this->model_catalog_product->getLatestProducts(20) as $result)
Might be worth putting something in the settings table for this.
New "Blocks" type of extension?.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 49 guests