I have one simple question.
I need to show random products at New Products and Featured products.
How can I do that?
Thanks
You should edit code for featured and new products blocks or either use different blocks there. Please check this thread.
The problem is, at CMS, if I write new_random, it won’t work.
Another way could be edit new.phtml from:
if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
To:
if (($_products = $this->getLoadedProductCollection()) && $_products->getSize()): ?>
But it doesn’t work.
Already tried creating a random.phtml, nothing.
But if I change home page XML to list and not new, and use list_random, it works.
But show that ugly list page.
I have one simple question.
I need to show random products at New Products and Featured products.
How can I do that?
Thanks
You should edit code for featured and new products blocks or either use different blocks there. Please check this thread.
The problem is, at CMS, if I write new_random, it won’t work.
Another way could be edit new.phtml from:
if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
To:
if (($_products = $this->getLoadedProductCollection()) && $_products->getSize()): ?>
But it doesn’t work.
Already tried creating a random.phtml, nothing.
But if I change home page XML to list and not new, and use list_random, it works.
But show that ugly list page.
I have one simple question.
I need to show random products at New Products and Featured products.
How can I do that?
Thanks
You should edit code for featured and new products blocks or either use different blocks there. Please check this thread.
The problem is, at CMS, if I write new_random, it won’t work.
Another way could be edit new.phtml from:
if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
To:
if (($_products = $this->getLoadedProductCollection()) && $_products->getSize()): ?>
But it doesn’t work.
Already tried creating a random.phtml, nothing.
But if I change home page XML to list and not new, and use list_random, it works.
But show that ugly list page.
Dont know if its still usefull, but i will contribute my solution.
To have random products on homepage, just add the following code in “app\code\core\Mage\Catalog\Block\Product\New.php”
Find the line with:
Am getting to grips with magento and this theme, and have just finished editing the .psd to reflect a differing colour scheme. However the guides don’t seem to relate to the individual graphics that I need to cut out and optimise to use the new colourscheme ?
Are there any guidelines on how to ‘cut up’ this .psd after recolouring it all ? At the moment I am looking at the original .gif and trying to eyeball where to make a selection and a cut for to out put a new graphic - and its not exactly proving very time effecient!
Regards,
Can anyone help me with this one....? my template does not show the newsletter backround or the other blocks below it like in the template, its just text can anyone help me to fix this?