Post by yosoychu » Thu Feb 05, 2009 10:33 pm

Hi everyone!, i'm really new to Open cart, and its really good, but i need some help.

I'm building a store, and i need to make the Bestsellers 'box' to a Bestseller 'page' I've tried to make a information page, and then apply

Code: Select all

<?php echo $popular; ?>
but this dissapear when i see frontend (the new information page is empty) :S. And also i would need to place some .flv next to each bestseller (trailer) can this be done??

thanks in advance!!

Newbie

Posts

Joined
Thu Feb 05, 2009 10:28 pm

Post by yosoychu » Thu Feb 05, 2009 10:38 pm

one more thing!!

if what i asked is too complicate, maybe can i do this manually? creat an information page simulating BEST SELLER? but, can i add swf to information page?

Newbie

Posts

Joined
Thu Feb 05, 2009 10:28 pm

Post by Qphoria » Thu Feb 05, 2009 11:52 pm

Yes you can add anything you want to the information page. What you are describing sounds fine. I've not tried using a tag like that in the information description, but be sure you do it in "code" view as opposed to the wysiwyg view.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by yosoychu » Fri Feb 06, 2009 2:15 am

thanks for replying!

already tried to put it in "code view" but it doesn't work, it desappears whenever i save or go back to wysiwyg view! :S

Newbie

Posts

Joined
Thu Feb 05, 2009 10:28 pm

Post by Qphoria » Fri Feb 06, 2009 2:20 am

yea, i suppose its expecting to echo the contents, but not evaluate it first...  Perhaps daniel has more insight. I'm not yet familiar with 1.x

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Daniel » Mon Feb 09, 2009 7:00 am

I'm assuming you want to display the bestsellers list on the front page?

Goto controller/common/home.php

look for the line $model_product_product->getLatest(8);

and change it to $model_product_product->getPopular(8);

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: No registered users and 30 guests