Re: Multiple Product Templates [1.4.6]
I've only got it running on a local WAMP right now. I'll set it up on my live server so people can have a look. Will post link when done.
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.
- Tue Apr 06, 2010 1:11 am
- Replies 58
- Views 26761
Re: Multiple Product Templates [1.4.6]
Would there be any interest in me extending this to also allow variation of category templates across the store?
Jump to post- Mon Apr 05, 2010 11:55 pm
- Replies 58
- Views 26761
Re: Multiple product templates
Done,
http://forum.opencart.com/viewtopic.php?f=23&t=12935
- Sun Apr 04, 2010 5:46 pm
- Replies 2
- Views 533
Multiple Product/Category Templates + CSS Override [1.5.x.x]
Multiple Template System 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 t...
Jump to post- Sun Apr 04, 2010 5:44 pm
- Replies 58
- Views 26761
Zero Value Order Seperation [1.4.6]
This will create a submenu of 'Zero Value Order' in the admin area under 'Sales'. It keeps orders with a total selling price Zero separate from other orders. Useful for people who might send out free samples of products, or people who want easier bookkeeping. I don't know how to package this as a mo...
Jump to post- Sun Apr 04, 2010 5:14 pm
- Replies 0
- Views 351
Re: path to current theme
Thanks Q, did the job perfectly.
Jump to post- Sun Apr 04, 2010 4:13 pm
- Replies 2
- Views 1931
path to current theme
Might be a dumb question, but ...
is there a way of getting the path to the theme that the cart is currently using?
- Sun Apr 04, 2010 7:38 am
- Replies 2
- Views 1931
Multiple product templates
Has anyone written a module to allow multiple product templates to be available? or is there any such plan on the roadmap? This would basically work something along the lines of selecting a product template to use at the same time as the product is added to the database and displayed accordingly at ...
Jump to post- Mon Mar 29, 2010 1:21 am
- Replies 2
- Views 533
Module support
Opencart v 1.4.4 I'm looking for some help with writing a new module and would be grateful for some assistance. My store will offer free samples and it would be useful to have a module which only lists these. I have duplicated the Orders module and renamed to sample. I have all the necessary files i...
Jump to post- Thu Mar 18, 2010 7:02 am
- Replies 0
- Views 326
Re: Conditional Quantity field
Yea you have //compare product id to string of ids that require change. if (strpos($template_change_req, $temp_product_id)) {$quantity_text_input = true;} but what if the strpos fails? or what if strpos returns "0" as it is a zero based function. So if the first character matches, it will show 0, b...
Jump to post- Sat Mar 13, 2010 10:40 am
- Replies 6
- Views 1395
Re: Conditional Quantity field
ok, here's the code that I have placed in template.tpl ..... <?php $temp_product_id = $_GET['product_id']; //list of product ids that require different quantity form entry $template_change_req = '00_49_112_34'; //compare product id to string of ids that require change. if (strpos($template_change_re...
Jump to post- Sat Mar 13, 2010 10:02 am
- Replies 6
- Views 1395
Re: Conditional Quantity field
I am wanting to amend the product.tpl file in order to specify that some products have a drop-down for quantity selection and some have a text input. I have attempted to do this by placing a function a function in the file which checks the product ID and returns a variable containing the correct ht...
Jump to post- Sat Mar 13, 2010 9:31 am
- Replies 6
- Views 1395
Conditional Quantity field
I am wanting to amend the product.tpl file in order to specify that some products have a drop-down for quantity selection and some have a text input. I have attempted to do this by placing a function a function in the file which checks the product ID and returns a variable containing the correct htm...
Jump to post- Sat Mar 13, 2010 5:53 am
- Replies 6
- Views 1395
Re: A few queries re Currencies / Multi Store / Templates
Ok, Here's where i'm going to sound like a complete tool. I've looked through the code, but as mentioned above, OOP is not yet something that i'm any good at. Can anyone advise where the class/function is that parses the product.tpl file. I need to include an additional conditional parameter. regard...
Jump to post- Sat Mar 13, 2010 4:59 am
- Replies 2
- Views 1034
A few queries re Currencies / Multi Store / Templates
Hi folks, I'm looking to switch to a new cart solution and of the many i've come across, OpenCart seems to be the best fit. After playing around in my test environment i've come across a few niggles which I'm hoping can be easily solved. I've tried searching the module contributions, but the search ...
Jump to post- Fri Mar 12, 2010 7:02 am
- Replies 2
- Views 1034