Page 2 of 2

Re: [MOD] - Show Random products on the Home Page

Posted: Wed Jan 26, 2011 11:28 pm
by Qphoria
georget wrote:I tried the no strain version without using vqmod and keep getting
Parse error: syntax error, unexpected T_VARIABLE in /wwwroot/catalog/controller/module/latest.php on line 17
Not sure. your file looks slightly different than mine as far as indenting, but the code looks the same. I've reuploaded my copy from my actual live site. Try that one. (you may need to clear your browser download cache as its the same filename)

Re: [MOD] - Show Random products on the Home Page

Posted: Thu Jul 21, 2011 2:25 pm
by olynnow
Hi,
Can anyone help me change "Latest products" module into "Rondom Products" for Opencart 1.5.0.5?
Thanks in advance :)!!!!

Re: [MOD] - Show Random products on the Home Page

Posted: Thu Jul 21, 2011 3:45 pm
by xl5
I have just loaded the code, it is fantastic mate, you will never be a rich man giving away code like this but you will be the richer for it! Google and the like will love crawling over an ever changing home page superb. ;D

Re: [MOD] - Show Random products on the Home Page

Posted: Thu Jul 21, 2011 4:10 pm
by xl5
olynnow wrote:Hi,
Can anyone help me change "Latest products" module into "Rondom Products" for Opencart 1.5.0.5?
Thanks in advance :)!!!!
Hi try this - cat/language/english/module/latest php
Replace:

Code: Select all

<?php
// Heading 
$_['heading_title']  = 'Latest';

// Text
$_['text_stars']     = '%s out of 5 Stars!';
$_['text_products']  = 'Products';
?>
With this:

Code: Select all

<?php
// Heading 
$_['heading_title']  = 'Random';

// Text
$_['text_stars']     = '%s out of 5 Stars!';
$_['text_products']  = 'Products';
?>

Re: [MOD] - Show Random products on the Home Page

Posted: Sat Jul 23, 2011 10:42 pm
by olynnow
?php
// Heading
$_['heading_title'] = 'Random';


I think this will change only the title of the module

Re: [MOD] - Show Random products on the Home Page

Posted: Sun Jul 24, 2011 2:10 am
by xl5
Hi
Try it, it worked for me.
Ps. It does not change the name of the module in the Admin but does in the store front.

Re: [MOD] - Show Random products on the Home Page

Posted: Tue Aug 30, 2011 6:09 pm
by nbg4ever
any new ideas?

Re: [1.4.x MOD] - Show Random products on the Home Page

Posted: Tue Aug 30, 2011 6:46 pm
by Qphoria
This will not work for 1.4.9.x or 1.5.x
You need this one instead:
http://forum.opencart.com/viewtopic.php?f=131&t=32570

Re: [1.4.x MOD] - Show Random products on the Home Page

Posted: Tue Aug 30, 2011 7:23 pm
by nbg4ever
Thanks. It is working but only on 8 last products. Can it randomize last 20 or 30 products?

Re: [1.4.x MOD] - Show Random products on the Home Page

Posted: Tue Aug 30, 2011 8:22 pm
by Qphoria
nbg4ever wrote:Thanks. It is working but only on 8 last products. Can it randomize last 20 or 30 products?
Read up!

Re: [1.4.7 or less MOD] - Show Random products on the Home P

Posted: Fri Sep 23, 2011 2:58 pm
by nbg4ever
I forgot to say that you men are great!