I have this theme and having problems displaying products
here take a look
http://www.destinycomputing.com
here take a look
http://www.destinycomputing.com
hard to do to get it to work right and still working on it the
Currencies and Languages and shopping cart are not working yet
Currencies and Languages and shopping cart are not working yet
Thats got the makings of a very neat site, greena nd grey, nice combo!
You might want to see http://forum.opencart.com/viewtopic.php ... =+home.php to get categories on the homepage also. That error looks like you've killed the second for statement when spilling the products out.
I'm wondering if you could get the 'new' corner flags out from a product option, so that they only appear when set, it also means you could add other flags, like the corner flags used in the products in http://www.ghostbikes.com/ (not OpenCart).
You might find this useful to do that:
You'd obviously add the options code to the home.php file, it should almost be a straight copy/paste from the products.php controller file.
Matt
You might want to see http://forum.opencart.com/viewtopic.php ... =+home.php to get categories on the homepage also. That error looks like you've killed the second for statement when spilling the products out.
I'm wondering if you could get the 'new' corner flags out from a product option, so that they only appear when set, it also means you could add other flags, like the corner flags used in the products in http://www.ghostbikes.com/ (not OpenCart).
You might find this useful to do that:
Code: Select all
<table style="width: 100%;">
<?php foreach ($options as $option) { ?>
<tr>
<?php echo $option['name']; ?>:<br />
<?php foreach ($option['option_value'] as $option_value) { ?>
ID = <?php echo $option_value['option_value_id']; ?> <br />
name: = <?php echo $option_value['name']; ?> <br />
<?php
if (strcmp($option['name'], "FlagName1") == 0)
{
echo "This is FlagName1 ".$option_value['name'];
}
if (strcmp($option['name'], "FlagName2") == 0)
{
echo "This is FlagName2: ".$option_value['name'];
}
?>
<br /><hr /><br />
<?php } ?>
</tr>
<?php } ?>
</table>
Matt
Code: Select all
It was like that when I found it, honest!
the way I have it set each on of the blocks will be a product on the front page up to 6 new random products.
another problem I am having is when you click on a Category the info does not display in the right spot yet
another problem I am having is when you click on a Category the info does not display in the right spot yet
You have a problem on line 74 of your home.tpl file, php doesnt recognize "j in" as anything. Please copy and paste part of your home.tpl file around line 74 so we can see what is going on in your code.
PM me for custom OpenCart template design and development.
Who is online
Users browsing this forum: No registered users and 1 guest