last day (22 days later) » 

1:55 PM
HEY
 
How you doing BRO
Hope everything well
can you please help me in this matter
my template is showing the products that are already in store. but when i add new products they are not showing,
 
m fine bro what about you?
 
I am fine too. THanks
 
make sure visibility, status , quantity is set according to rule
 
1:59 PM
yeah BRO everything is ok i ve double check it
 
ok
i will send you code
 
can you please look this isseu with Team Viewer
if you have time
 
just wait in some minutes
 
code is working fine BRO
may be there is some reconfiguration issues
 
2:01 PM
please see it through Team VIewer
 
i am in office here not allowed
 
oh :(
 
have to tried this one
$category = new Mage_Catalog_Model_Category ();
$category->load ( $catid );
$prodCollection = $category->getProductCollection ();
?
Are you there
xabby
 
yeah BRO
 
then what is the result when you print the $prodCollection
 
2:09 PM
i didnt use your code yet
please tell me where i have to put this
 
Let me know your folder structure
where you use you code
 
/quickpromos.com/html/app/design/frontend/smartwave/QuickPromos/template/catalog‌​/product/sample.phtml
 
Replace this code
: <?php echo $this->getLayout()->createBlock('catalog/product_list')->setCategoryId(78)->setT‌​‌​emplate('catalog/product/sample.phtml')->toHtml(); ?>
 
ok
 
and print
the result
 
2:14 PM
here is the result
 
login required to view this
 
ok let me
shoaib@techleadz.com
techleadz123
here the login
 
now add this code and print the result
$productIds = array ();
foreach ( $prodCollection as $product ) {
$productIds [] = $product->getId (); // Array to store all the product ids
}
echo "<pre>";print_r($productIds);die;
 
and remove the prev code or that will be still there?
 
no no
just add
 
2:28 PM
added check now
 
?
what is the result
can you show me
 
Array
(
[0] => 32
)
this
 
thats fine
There is only one product
whose id=32
m i right?
 
let me check the ID
but i have more than 100 products
in store
whats its showing only one
 
can you check category id
is 78
go to magento dashboard
and check
the category
 
2:36 PM
yeah it is 78
 
how many products
shown hare
 
only one products in category 78
thats id is 204
here is the screenshot: '
there BRO
 
yes that i m saying
you need to add product on that category
 
on which category?
32?
 
78
then check my result
 
2:51 PM
i have already added the product on 78 category
as i have send you the screehshot
 
but it show only one
add three-four more
 
thats what iam worried about
i have added three more
 
ok
now check the result
as i have sent you the code
 
 
thats fine
now run the code
as i have sent you
 
2:56 PM
you have sent me this code:
<?php
$category = new Mage_Catalog_Model_Category ();
$category->load ( $catid );
$prodCollection = $category->getProductCollection ();
$productIds = array ();
foreach ( $prodCollection as $product ) {
$productIds [] = $product->getId (); // Array to store all the product ids

echo "<pre>";print_r($productIds);die;
}

?>
i have run it again and the same result is shown
 
oooh
then there is another issue bro
can you check the category of product id 32
Can you send me the cpanel detail
or magento admin detail
Now i am leaving
sorry bro i am not able to solve you problem
can be discuss tomorrow
?
 
i have to solve it today
 
ooh sory
which country you belong
gurpal.singh1111
this is my skype id
after 9:30 i am avaiable on it
 
ok i am from pak
 
3:10 PM
i am here please ping when you back
 

  last day (22 days later) »