Post by 900pixels » Sun Jun 05, 2011 6:01 pm

I am also looking for this to work with opencart 1.4.9

Anyone got this working with that version?

Active Member

Posts

Joined
Tue Dec 08, 2009 1:36 pm

Post by spikeachu » Tue Jun 07, 2011 4:17 am

I've started writing a vQmod for v1.4.9.5
I'll post it when it's done.

I have little free time, so i'm not going to put a timescale on completion.

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by spikeachu » Thu Jun 09, 2011 12:49 am

[quote="tinajane"]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.

You need to put the template field in both the product and the category tables.

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by spikeachu » Fri Jun 10, 2011 5:23 am

Here's a version that I've done as vQmod tested with v1.4.9.5

Donations appreciated as I've fallen on hard times.

Thanks.

Regards, Spike.
Last edited by spikeachu on Sat Jun 18, 2011 9:28 am, edited 1 time in total.

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by Ulf » Mon Jun 13, 2011 4:45 pm

Spike, will be an update of Multi Product Templates to 1.5?
Regards, Ulf.

Ulf
New member

Posts

Joined
Sat Oct 16, 2010 4:41 pm

Post by spikeachu » Mon Jun 13, 2011 11:56 pm

Ulf wrote:Spike, will be an update of Multi Product Templates to 1.5?
Regards, Ulf.
I've not even downloaded 1.5 to take a look at yet. I'll see if i can get time to install it and see how the new template system works. I understand from some of the 1.5 threads that it's been overhauled.

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by Ulf » Wed Jun 15, 2011 4:37 pm

I have now installed the Multi Product Templates source code in v.1.5.0.4.
Everything looks same as in v1.4.9.1. I can change the category template but not product template.
No errors is displayed.
In database table "Product" and field "template" works.
I would like some help so Multi Product Templates also works with product template.
The code I use in catalog/controller/product/product.php is

if (! empty ($ product_info ['template'])) {
$ this-> data ['template'] = $ product_info ['template'];
} else {$ this-> data ['template'] = 'product.tpl';
}
if (file_exists (DIR_TEMPLATE. $ this-> config-> get ('config_template') '. / template / product /'. $ this-> data ['template'])) {
$ this-> template = $ this-> config-> get ('config_template'). '/ template / product /'. $ this-> data ['template'];
} else {
$ this-> template = 'default / template / product /'. $ this-> data ['template'];
}

Ulf
New member

Posts

Joined
Sat Oct 16, 2010 4:41 pm

Post by spikeachu » Sat Jun 18, 2011 9:48 am

Mod has been updated to be compatible with v1.5.0

Sorry to do this, but I've made this mod commercial. After losing a job and having to take one on half the pay things are a little tight right now. I hope you understand.

http://www.opencart.com/index.php?route ... on_id=2359

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by marcelwoo » Thu Jun 23, 2011 8:05 am

Hi, Thx for the great mod that makes opencart more flexiable.
However, I think this mod would be better if you enable users to put different banners in different categories or product pages.
I love the banner system of opencart 1.5x, but it is capability is, IMO, a lil bit limited, 'cause you can only apply a banner on a category or product level(meaning one type of page(category or product) has the same banner.)
Basically, many people want different banners on different category or product page.
Say you are selling two types of items, printer and computer. If you put up an ads regarding printer, the current banner system will makes it show up in both the printer and computer categories. This does not make sense, right?
I really hope you can consider my suggestion and make this mode more useful for more people. Then I believe more will be interested in it and buy it ;D

"We help each other to grow". That's the opencart community!

All free mods
Home Based Ebay business Opportunity(not ads)


User avatar
Active Member

Posts

Joined
Tue Mar 29, 2011 1:45 am

Post by spikeachu » Thu Jun 23, 2011 3:08 pm

marcelwoo wrote:Hi, Thx for the great mod that makes opencart more flexiable.
However, I think this mod would be better if you enable users to put different banners in different categories or product pages.
I love the banner system of opencart 1.5x, but it is capability is, IMO, a lil bit limited, 'cause you can only apply a banner on a category or product level(meaning one type of page(category or product) has the same banner.)
Basically, many people want different banners on different category or product page.
Say you are selling two types of items, printer and computer. If you put up an ads regarding printer, the current banner system will makes it show up in both the printer and computer categories. This does not make sense, right?
I really hope you can consider my suggestion and make this mode more useful for more people. Then I believe more will be interested in it and buy it ;D
I think that functionality should be created as a separate mod, rather than integrated into the Multiple Template module. I prefer to keep mods simple and provide a basic function rather than provide multiple functions and become more complex.

It also makes them easier to upgrade with each revision of OpenCart.

Maybe it's something I'll work on when I get a spare few hours.

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


Active Member

Posts

Joined
Fri Mar 12, 2010 6:31 am

Post by spitos » Wed Jul 27, 2011 6:47 pm

This seems to work on v1.5.1.1 and i've managed to set a new template to a category just fine.

Can you think of any potential issues i've yet to discover?

Cheers

Image
Google Analytics Expert - Advanced e-commerce tracking, Product & options reporting, transaction/conversion reporting, Google Adwords conversion & profit reporting, goal & funnel reporting, event tracking, site search tracking, multi-store compatibility, EU Cookie Law compliance and works with any theme or checkout! Easy vqmod install. Get it here


User avatar
Active Member

Posts

Joined
Mon May 23, 2011 6:19 pm
Location - UK

Post by spitos » Wed Jul 27, 2011 9:05 pm

After further testing on changing category templates, I've come across a problem. I'm not sure if this is how it is for the earlier versions or supposed to be but when I upload a new template it is selecting that by default and inserting that into all categories that were previously using category.tpl (defualt store settings).

Is this normal behaviour?

Is there a way to make it use category.tpl as default and only change to a different template when i make changes and click save in the category section?

Image
Google Analytics Expert - Advanced e-commerce tracking, Product & options reporting, transaction/conversion reporting, Google Adwords conversion & profit reporting, goal & funnel reporting, event tracking, site search tracking, multi-store compatibility, EU Cookie Law compliance and works with any theme or checkout! Easy vqmod install. Get it here


User avatar
Active Member

Posts

Joined
Mon May 23, 2011 6:19 pm
Location - UK

Post by qahar » Thu Jul 28, 2011 1:12 pm

marcelwoo wrote:I love the banner system of opencart 1.5x, but it is capability is, IMO, a lil bit limited, 'cause you can only apply a banner on a category or product level(meaning one type of page(category or product) has the same banner.)
Basically, many people want different banners on different category or product page.
Opencart 1.5 Layout System able to do that.
I just made tutorial for this: How Layout System Work

User avatar
Expert Member

Posts

Joined
Tue Jun 29, 2010 10:24 pm
Location - Indonesia

Post by MSO_ENT » Wed Feb 15, 2012 11:40 am

qahar wrote: Opencart 1.5 Layout System able to do that.
I just made tutorial for this: How Layout System Work
I just followed this tutorial. I can get the ' Category Page Desktop' to work according to the tutorial, however, 'All other Category Page' displays the same as the 'Category Page Desktop'. If I go into the other categories and set a 'Layout Override' for them (Category Page per tutorial), it displays correctly.

Has this tutorial worked for others?

Newbie

Posts

Joined
Wed Sep 21, 2011 12:59 am

Post by jackbat » Wed Feb 13, 2013 4:34 am

Hello, I am hoping this is simple. I am running OC under Joomla with Mijo. I uploaded the extensions and they appear to be enabled as I can now see two new dropdowns in my DATA section under products.
However, under stylesheet the only option is "none" and under template, there is nothing at all. Just a 10px empty dropdown.

I saw that someone else had this issue and it appeared to be fixed with a file structure mistake. However I created under catalog/view/theme => "boat_kits/template/product/product.tpl" and "boat_kits/stylesheet/boatstylesheet.css" both of these are just copies of the default for now. Neither one is showing up in the data tab of products.

I went to the vQmod Manager and both extensions appear to be installed and enabled. I am new to OC but very familiar with Joomla. Is there something other than uploading the extension directory structure that needs to be done to activate this extension?

HELP! Jackbat

Newbie

Posts

Joined
Wed Feb 13, 2013 4:24 am
Who is online

Users browsing this forum: No registered users and 34 guests