Community Forums

[MOD] Add Product Options to Categories

Free manual modifications can be contributed here. Modifications are manual snippets of code that are pasted into the forums for others to use.

Re: [MOD] Add Product Options to Categories

Postby lg1 » Sat Sep 11, 2010 9:22 am

You just need to find the files that do it for home, eg i think it is latest.tpl or something and edit the controller file, the code should be similar for any section.

Sorry cant help further not working on opencart atm
lg1
 
Posts: 23
Joined: Sun Aug 15, 2010 4:48 am

Re: [MOD] Add Product Options to Categories

Postby adesignl » Mon Oct 25, 2010 8:52 pm

Can I get a link to a sample cart that is using this mod. I would like to see it in action.
User avatar
adesignl
 
Posts: 23
Joined: Wed Aug 18, 2010 5:07 am
Location: Florida, USA

Re: [MOD] Add Product Options to Categories

Postby lg1 » Tue Oct 26, 2010 12:34 am

sorry i moved to prestacart u have to ask someone else
lg1
 
Posts: 23
Joined: Sun Aug 15, 2010 4:48 am

Re: [MOD] Add Product Options to Categories

Postby gujjar » Tue Oct 26, 2010 9:20 am

hello guys..
i am back with small problem i am using this mod and its working really nice... if you go to this page http://umarstudio.com/pizza.png and see that in the list options its showing the price 25.0000 some thing actually it should be kr 25.00 ... that would be really nice if jty can help because i m using the same files he gave me...

And the price which is not inside the list option shows fine.. thanks...
gujjar
 
Posts: 34
Joined: Thu May 20, 2010 10:40 am
Location: Denmark

Re: [MOD] Add Product Options to Categories

Postby jty » Tue Oct 26, 2010 9:48 am

It's a format issue and I am not able to help on formating price as it involves the currency and maybe tax classes which I have removed. It would take me too long to work out.
My advice is to look at the product.php controller, see how options prices are coded there and copy it.
jty
 
Posts: 1163
Joined: Sat Aug 30, 2008 12:19 am

Re: [MOD] Add Product Options to Categories

Postby gujjar » Wed Oct 27, 2010 7:12 pm

i have been looking in produt.php and found that i need to add this line some where in category.php for options list.

Code: Select all
'price' => (float)$option_value['price'] ? $this->currency->format($this->tax->calculate($option_value['price'], $product_info['tax_class_id'], $this->config->get('config_tax'))) : FALSE,


as i understood it just need the float and the tax calculation thats it i cant figure it out how to and where to place this line in category.php .. i m not that good in codes :P so any one can help me..
gujjar
 
Posts: 34
Joined: Thu May 20, 2010 10:40 am
Location: Denmark

Re: [MOD] Add Product Options to Categories

Postby gujjar » Sat Oct 30, 2010 9:53 pm

ok i just fixed the price problem...
gujjar
 
Posts: 34
Joined: Thu May 20, 2010 10:40 am
Location: Denmark

Re: [MOD] Add Product Options to Categories

Postby palrt1 » Thu Jun 02, 2011 6:50 am

i do not find any document.load in cart.tpl. please send the full javascript of cart.tpl
Please send me the full script. thanks.
palrt1
 
Posts: 2
Joined: Wed Apr 27, 2011 6:48 am

Re: [MOD] Add Product Options to Categories

Postby mike_jandreau » Wed Sep 21, 2011 12:13 pm

Anyone know if this same code will work for 1.5.1?

I'm looking to do something similar and can't find anything 1.5.1 specific.
mike_jandreau
 
Posts: 70
Joined: Sun Jul 25, 2010 5:38 pm

Re: [MOD] Add Product Options to Categories

Postby mike_jandreau » Wed Sep 21, 2011 1:42 pm

mike_jandreau wrote:Anyone know if this same code will work for 1.5.1?

I'm looking to do something similar and can't find anything 1.5.1 specific.


Nope, I gave it a whirl, and since so much has changed between 1.4.9 and 1.5, this doesn't work anymore.
mike_jandreau
 
Posts: 70
Joined: Sun Jul 25, 2010 5:38 pm

[SOLVED] Anyone care to update this mod for Opencart 1.5.x.

Postby begintostart » Mon Oct 03, 2011 8:22 pm

I would really like to see this mod updated to work with Opencart 1.5.x.

I may be able to pay or donate depending on the price. The updated mod would be posted publicly on this forum so that it's available for everyone.

Judging by the activity in this thread I'm not the only one that's interested.

If you're familiar enough with Opencart to make the update and have read this far please post here or PM me directly.

:)

UPDATED ON OCTOBER 12, 2011

I hired a programmer on the board to create a VQMOD that works similarly to this hardcoded mod. It works perfectly with Opencart 1.5.x.

I'll post it for everyone's use soon.

8)

UPDATED ON OCTOBER 19, 2011

The completed VQMOD file is attached. It will display all Product Options in the "Featured" module if used as-is. You can use it without VQMOD like I did by hardcoding the code.

VQMOD files are written exactly like an instruction manual. If you open the file and read it, it will tell you the exact place to put each piece of code.

O0
Attachments
optionsFeatured_V2.xml
This VQMOD file will display Product Options in the Featured Module.
(11.2 KiB) Downloaded 234 times
Last edited by begintostart on Wed Oct 19, 2011 11:04 pm, edited 5 times in total.
begintostart
 
Posts: 7
Joined: Mon Oct 03, 2011 8:11 pm

Re: [MOD] Add Product Options to Categories

Postby victor.gatto » Tue Oct 04, 2011 11:38 pm

grid view looks great, what does it look like in list view?
f: www.facebook.com/victor.gatto
m: terrafirma@live.com.au
s: victor.gatto99
User avatar
victor.gatto
 
Posts: 108
Joined: Thu Sep 01, 2011 1:14 am

Re: CAN PAY: Anyone care to update this mod for Opencart 1.5

Postby victor.gatto » Wed Oct 05, 2011 12:01 am

begintostart wrote:I would really like to see this mod updated to work with Opencart 1.5.x.

I may be able to pay or donate depending on the price. The updated mod would be posted publicly on this forum so that it's available for everyone.

Judging by the activity in this thread I'm not the only one that's interested.

If you're familiar enough with Opencart to make the update and have read this far please post here or PM me directly.

:)



same i need it for 1.5.1.1
f: www.facebook.com/victor.gatto
m: terrafirma@live.com.au
s: victor.gatto99
User avatar
victor.gatto
 
Posts: 108
Joined: Thu Sep 01, 2011 1:14 am

Re: [MOD] Add Product Options to Categories

Postby itmanvn » Thu Oct 13, 2011 2:11 am

cool, waiting for vqmod :joker:
itmanvn
 
Posts: 10
Joined: Thu Jan 13, 2011 4:57 am

Re: [MOD] Add Product Options to Categories

Postby victor.gatto » Wed Oct 26, 2011 9:50 pm

does this work in list view?
f: www.facebook.com/victor.gatto
m: terrafirma@live.com.au
s: victor.gatto99
User avatar
victor.gatto
 
Posts: 108
Joined: Thu Sep 01, 2011 1:14 am

Re: [SOLVED] Anyone care to update this mod for Opencart 1.5

Postby victor.gatto » Wed Oct 26, 2011 9:54 pm

begintostart wrote:I would really like to see this mod updated to work with Opencart 1.5.x.

I may be able to pay or donate depending on the price. The updated mod would be posted publicly on this forum so that it's available for everyone.

Judging by the activity in this thread I'm not the only one that's interested.

If you're familiar enough with Opencart to make the update and have read this far please post here or PM me directly.

:)

UPDATED ON OCTOBER 12, 2011

I hired a programmer on the board to create a VQMOD that works similarly to this hardcoded mod. It works perfectly with Opencart 1.5.x.

I'll post it for everyone's use soon.

8)

UPDATED ON OCTOBER 19, 2011

The completed VQMOD file is attached. It will display all Product Options in the "Featured" module if used as-is. You can use it without VQMOD like I did by hardcoding the code.

VQMOD files are written exactly like an instruction manual. If you open the file and read it, it will tell you the exact place to put each piece of code.

O0

\

ahhhhh this is only for featured, i need it for categories in list view!!
f: www.facebook.com/victor.gatto
m: terrafirma@live.com.au
s: victor.gatto99
User avatar
victor.gatto
 
Posts: 108
Joined: Thu Sep 01, 2011 1:14 am

Re: [MOD] Add Product Options to Categories

Postby mimarinkovic » Fri Nov 11, 2011 4:14 pm

I did everything as it is written and works great ... but I have a problem .... For guests, feature to see the price of products is turned off, but they can click on the add to cart button, and in the basket is seen price.
Can this be changed ... to not see price for guests ?
Or not to see the add to cart button .... for guests ?

Thanks !
mimarinkovic
 
Posts: 1
Joined: Fri Nov 11, 2011 3:58 pm

Re: [SOLVED] Anyone care to update this mod for Opencart 1.5

Postby Amrit » Fri Nov 25, 2011 11:32 pm

victor.gatto wrote:ahhhhh this is only for featured, i need it for categories in list view!!


Updated module here, works for 1.5x.
http://www.opencart.com/index.php?route ... order=DESC

Cheers
Amrit
 
Posts: 13
Joined: Fri Apr 01, 2011 3:33 pm

Re: [MOD] Add Product Options to Categories

Postby dimko » Sat Dec 10, 2011 11:44 pm

Have anyone made this for 1.5.x ?
Using OpenCart v1.5.1.3
dimko
 
Posts: 170
Joined: Sat Sep 24, 2011 6:10 pm

Re: [MOD] Add Product Options to Categories

Postby bennyblanco » Mon Mar 05, 2012 6:24 am

Hi,

I want to know if there's a way to have the the options that you can add multiple quantity's so for example size 5 as a option and be able to add any number quantity in the box?

TY
bennyblanco
 
Posts: 4
Joined: Mon Mar 05, 2012 6:23 am

PreviousNext

Return to Modifications

Who is online

Users browsing this forum: No registered users and 9 guests

Hosted by Arvixe Web Hosting