Post by aladin23 » Fri Dec 17, 2010 8:24 am

Hello to all
I need a module, to show on the front-end page, at some specific product details from stock
To make me understanding, I give to you an example:
I have a shoe called "OSIRIS" and I need to show to my visitors, how many ORISIS shoes are on the stock with number 40, 41, 42, etc? How can I implement this? Is there a module already implemented?
Thanks a lot.
Have a nice day

Newbie

Posts

Joined
Fri Dec 17, 2010 7:11 am

Post by SapporoGuy » Sun Dec 19, 2010 3:40 am

I'm not sure where you want to add this but you could try to add this to for example to latest products.

Code: Select all

<b><?php echo $text_availability; ?></b>
<?php echo $stock; ?>
However, I pulled that from the product.tpl and other modules might not have access to those variables and you'd need to add those to the controller files and such ...

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm

Post by SXGuy » Thu Dec 30, 2010 1:52 am

Thats not going to give him what he wants.

my understanding is, you would need to pull the options information from the product.tpl to the category.tpl file.

Option would be Size, values would be the shoe size, and you can list how many you have of each when you set it up.

If you follow this link, you can customise it to suit your needs.

http://forum.opencart.com/viewtopic.php ... ome#p97964

Active Member

Posts

Joined
Sun Nov 08, 2009 2:07 am

Post by SapporoGuy » Thu Dec 30, 2010 3:27 am

Oops!
You're right!

Sorry about the bad information!

930sc ... because it is fun!


User avatar
Active Member

Posts

Joined
Mon Nov 01, 2010 7:29 pm
Who is online

Users browsing this forum: No registered users and 4 guests