Hi,
I am looking into developing a contrib that allows the cart owner to manually associate products with other products, for example if a customer views a laptop, they would see laptop bags, spare batteries etc on the product view page.
From what I can see this will be a modification of the 'product' controllers and I want this mod to be usable by everyone in the future, is version 0.8/1.0 going to change drastically this part of the codebase and make this incompatible?
thanks
Have you seen this thread?
http://forum.opencart.com/index.php/topic,1244.0.html
I don't know if it works but it's a start
http://forum.opencart.com/index.php/topic,1244.0.html
I don't know if it works but it's a start
OK by the looks of that other thread, this has been done before.
Havent installed it, but a quick look at the controllers show that this will need updating to work with 0.7.9-RC3.
I'll make the neccessary changes and re-post the contrib once its working.
Thanks
Havent installed it, but a quick look at the controllers show that this will need updating to work with 0.7.9-RC3.
I'll make the neccessary changes and re-post the contrib once its working.
Thanks
OK,
Ive updated the files in the contrib and stuck in an install note with the SQL import.
Seems to be working great on my 0.7.9-RC3 install.
I changed it so that related products appear with images and price, and a max of 4 products can be associated (for styling reasons more than anything )
Ive updated the files in the contrib and stuck in an install note with the SQL import.
Seems to be working great on my 0.7.9-RC3 install.
I changed it so that related products appear with images and price, and a max of 4 products can be associated (for styling reasons more than anything )
Hey theres a wee break in the template,
When no related products there is a missing closing tag,
Line 62 onwards should read:
Here is the new file...
When no related products there is a missing closing tag,
Line 62 onwards should read:
Code: Select all
<?php if(count($related)>0){?>
<div class="left">Related Products</div>
<?}?>
</div>
Attachments
Who is online
Users browsing this forum: No registered users and 35 guests