This will allow you to add some variance throughout your store by giving each product a different template.
Upload all templates you wish to use to your theme's template folder.
Under the data tab for each product and category you will find a Template dropdown. Select the template that you wish to use.
Provided as vQmod.
CSS Override
This will allow you to add some variance throughout your store by adding new CSS files and applying them to any product.
Upload all stylesheetss you wish to use to your theme's stylesheet folder.
Under the data tab for each product you will find a Stylesheet dropdown. Select the stylesheet that you wish to use to override.
Provided as vQmod.
Spike.
Mods have now been updated to v1.5.4.1
Multiple Template System ($15)
http://www.opencart.com/index.php?route ... on_id=2359
CSS Override ($15)
http://www.opencart.com/index.php?route ... on_id=8496
Or buy both together and save $10
http://www.opencart.com/index.php?route ... on_id=8497
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Any demo-site where I/we can see this?
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
To be honest, i would have thought it should be a feature that would have been included as standard anyway. Maybe it will be integrated in a future release.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
http://www.celebritysweepstake.co.uk/opencart/admin
user: opencart
pass: opencart
The product template feature is available at Catalog > Product > Edit > Data Tab > Template drop down
Not all the templates uploaded are product compatible, but you should be able to see the effects in the actual store at http://www.celebritysweepstake.co.uk/opencart/
I have also added a mod for separating out orders of Zero value, which can be viewed under Sales > Zero Value Order
Any improvements or alterations required, let me know.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
G'day,spikeachu wrote:Test environment is set up at
http://www.celebritysweepstake.co.uk/opencart/admin
user: opencart
pass: opencart
The product template feature is available at Catalog > Product > Edit > Data Tab > Template drop down
Not all the templates uploaded are product compatible, but you should be able to see the effects in the actual store at http://www.celebritysweepstake.co.uk/opencart/
I have also added a mod for separating out orders of Zero value, which can be viewed under Sales > Zero Value Order
Any improvements or alterations required, let me know.
I am getting a lot of errors when visiting the product pages (after clicking on a link from the categories list).
10mins later: It was because the Category had a product template attached. If there was some way you could separate the different template types that would help I think.
Also not sure what the differences are in some of the product templates??
A stupid question is the one you -don't- ask.........(Anon)
)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4
Right now, there's very little difference between product templates. Just a line of text saying 'Template 1' , 'template 2' etc ... Which was so I could identify that a different template was loading while testing. When I get a spare hour i'll make a couple that look visually different.cmebd wrote:G'day,spikeachu wrote:Test environment is set up at
http://www.celebritysweepstake.co.uk/opencart/admin
user: opencart
pass: opencart
The product template feature is available at Catalog > Product > Edit > Data Tab > Template drop down
Not all the templates uploaded are product compatible, but you should be able to see the effects in the actual store at http://www.celebritysweepstake.co.uk/opencart/
I have also added a mod for separating out orders of Zero value, which can be viewed under Sales > Zero Value Order
Any improvements or alterations required, let me know.
I am getting a lot of errors when visiting the product pages (after clicking on a link from the categories list).
10mins later: It was because the Category had a product template attached. If there was some way you could separate the different template types that would help I think.
Also not sure what the differences are in some of the product templates??
The point you make about selecting incompatible templates is valid and i'll amend the code over the next couple of days.
Thanks for the feedback.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Now includes category template system.
Tested with 1.4.6 and 1.4.7
<<Scroll Down for v 1.4.8 / 1.4.8b>>
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Thank you so much for this - I will install and test out the concept I am looking to achieve and post back here.
Cheers
Christine
A stupid question is the one you -don't- ask.........(Anon)
)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4
I seem to be having problems with the download. I keep getting an error when trying to unzip: does not appear to be a valid archive. I am sure its at my end but I have downloaded about 7 times (turning off my security scans (which I wouldn't normally do)) but still get the error.spikeachu wrote:Updated to prevent selection of incompatible templates.
Now includes category template system.
Is it possible to send to me please. I will PM you details if that is OK?
Cheers
A stupid question is the one you -don't- ask.........(Anon)
)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4
The files uploaded above have become corrupted. I've updated for v1.4.8 and attached to this post.cmebd wrote:I seem to be having problems with the download. I keep getting an error when trying to unzip: does not appear to be a valid archive. I am sure its at my end but I have downloaded about 7 times (turning off my security scans (which I wouldn't normally do)) but still get the error.spikeachu wrote:Updated to prevent selection of incompatible templates.
Now includes category template system.
Is it possible to send to me please. I will PM you details if that is OK?
Cheers
Any issues, let me know.
The zip file attached contains 2 versions.
v0.1 for 1.4.6 - 1.4.7
v0.2 for 1.4.8 - 1.4.8b
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Pretty sure I made all the correct edits but obviously have missed something...
The setting in the back end to select a template for a category was there, but when I tried to save my change I get this error:
Error: Unknown column 'template' in 'field list'
Error No: 1054
UPDATE category SET parent_id = '0', sort_order = '1', template = 'category_35.tpl', status = '1', date_modified = NOW() WHERE category_id = '35'
I'm pretty sure I have created the 'template' field in the products table correctly.
Any ideas what I've done wrong?
timkirtley wrote:All good - except one small hitch..
Pretty sure I made all the correct edits but obviously have missed something...
The setting in the back end to select a template for a category was there, but when I tried to save my change I get this error:
Error: Unknown column 'template' in 'field list'
Error No: 1054
UPDATE category SET parent_id = '0', sort_order = '1', template = 'category_35.tpl', status = '1', date_modified = NOW() WHERE category_id = '35'
I'm pretty sure I have created the 'template' field in the products table correctly.
Any ideas what I've done wrong?
You'll need to insert a new column named 'template' of type VARCHAR into your product table. That should do the job.
Regards, Spike.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Using phpmyadmin, selected the 'product' table. Added a new field at the bottom of the table called 'template' as varchar(64).
Does that sound right?
I updated the module to support category as well as product, but might have missed that step from the documentation.
I'll update the docs when I get home, thanks for bringing it to my attention.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
I installed in 1.4.8 installation went very smoothly. However when installing the 1.4.6 -1.4.7 version I am getting this error on the product /general tab page
Notice: Undefined variable: entry_tags in /path/html/admin/view/template/catalog/product_form.tpl on line 43
Any idea what my problem may be?
Cheers
A stupid question is the one you -don't- ask.........(Anon)
)C1.5.0.1 (IN devel)
OC V1.4.9.5
OC V1.4.9.2
OC V1.4.7
OC V1.3.4
Hi,cmebd wrote:Hi Spikeachu,
I installed in 1.4.8 installation went very smoothly. However when installing the 1.4.6 -1.4.7 version I am getting this error on the product /general tab page
Notice: Undefined variable: entry_tags in /path/html/admin/view/template/catalog/product_form.tpl on line 43
Any idea what my problem may be?
Cheers
Looks like i've managed to sneak in a template for 1.4.8 into the 1.4.6 - 7 folders. Tags weren't introduced until 1.4.8, so the variable on that line of code in the template needs removing.
Regards, Spike.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
I'll put together some code snippets, but my work load is quite high at the moment. Can you hang on till the weekend?DannyMacD wrote:as mine is a custom install and would love this feature, would you happen to have the snippets of code rather than files at all?
thank you so much.
If not, v1.4.8 should be commented, so you can find the comments and make the changes in your customised files.
The only change for 1.4.8 is the token system.
Regards, Spike.
Wedding Invitations and Stationery by Love2print
Commercial Mods
Product Colours on Category Page
Cardsave Direct Gateway
Clear Cache
Promotional Watermarks on Images
Multiple Category / Product Templates ** Popular **
Log Failed Login Attempts
Display Eligible Coupons with Products
Twitter Feeds
Have I helped you out or saved you some time? Please donate
Users browsing this forum: No registered users and 8 guests