Post by agua » Thu Dec 03, 2009 11:32 am

Hi - How's things?

A couple of questions regarding Product Options.

1 - Would it be easy to make it so you can choose if your product option is a select, textfield, textarea, input or radio button? Or would this mod break on upgrades as I have read that the Options are build into the core

2 - Can you have dependent Product Options - for example say your product options are 1, 2 or 3 day, can you have more options under each item asking which day registrations:

1 day registation
Mon |Tues | Wed
2 day registration
Mon/Tues |Tues/Wed | Mon/Wed
3 day registration

3 - And last but not least, is it possible to have a product which is added with no price ($0.00) but the price is dependent upon the Product Options choosen.

I realize that some if not all of this would require modification, I'm just trying to figure out if it is worth it in regards to:

a) Cost
b) Upgrades
c) Ease of admin

Newbie

Posts

Joined
Thu Dec 03, 2009 11:19 am

Post by agua » Fri Dec 04, 2009 6:16 am

Anyone?

Newbie

Posts

Joined
Thu Dec 03, 2009 11:19 am

Post by Xsecrets » Fri Dec 04, 2009 6:57 am

agua wrote:Hi - How's things?

A couple of questions regarding Product Options.

1 - Would it be easy to make it so you can choose if your product option is a select, textfield, textarea, input or radio button? Or would this mod break on upgrades as I have read that the Options are build into the core
there is a commercial mod for this, but yes it may break on upgrades.
2 - Can you have dependent Product Options - for example say your product options are 1, 2 or 3 day, can you have more options under each item asking which day registrations:

1 day registation
Mon |Tues | Wed
2 day registration
Mon/Tues |Tues/Wed | Mon/Wed
3 day registration
well that functionality is not built in, but as with anything else you could hire someone to write it for you, and yes it may well break on upgrades.
3 - And last but not least, is it possible to have a product which is added with no price ($0.00) but the price is dependent upon the Product Options choosen.
yes
I realize that some if not all of this would require modification, I'm just trying to figure out if it is worth it in regards to:

a) Cost
b) Upgrades
c) Ease of admin
Pretty much any changes to options will be prone to breakage on upgrade. As far as cost and ease of admin that's just a determination you will have to make.

OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter


Guru Member

Posts

Joined
Sun Oct 25, 2009 3:51 am
Location - FL US

Post by agua » Fri Dec 04, 2009 2:15 pm

Hey Thanks Xsecrets :)

Where do I find the commercial mods? (sorry - I'm pretty new around here) O0

Newbie

Posts

Joined
Thu Dec 03, 2009 11:19 am

Post by yaxo » Sat Dec 05, 2009 2:38 am

I am also looking for this solution, anyone know where to find this?

Newbie

Posts

Joined
Fri Dec 04, 2009 3:41 am

Post by flyfishingcolorado » Tue Dec 08, 2009 10:00 pm

V1.3.4 will allow a product with a $0.00 price and then the options drive the price added into the cart. But it would be nice to turn off the $0.00 price for such products. It looks really strange to see a product that does not cost anything.

But again maybe those products showing no price will get more hits.


Posts

Joined
Sun Nov 29, 2009 5:04 pm

Post by matthew@wormsetc.com » Sun Jan 24, 2010 1:37 am

Bump!

I used the options plus http://www.unbannable.com/ocstore/options_plus mod by Qphoria, who I am actually going to ask to look at this post. I works really well and is a pretty easy install by the way. And it helped me on some of my problems, but now I would like to have the price not show on the "catalog view pages" if the price=0.0000.

I think the solution lies in theme/"yourtheme"/template/product/product.tpl lines ~19-24 by adding an if-then condition to the price display. I only know enough to break things in code. But I think surely someone who is a good programmer could fix it in know time.

Thanks

Once again if you need more configuability under the options line you should get options plus http://www.unbannable.com/ocstore/options_plus


Posts

Joined
Sun Jan 24, 2010 1:21 am

Post by Qphoria » Sun Jan 24, 2010 5:09 am

On the product page, this can be overcome with my Options Price Update mod
But for category pages and other sideboxes, there is more work involved. Perhaps something can be hacked into the model to check for option price if price = 0.00

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by matthew@wormsetc.com » Sun Jan 24, 2010 5:21 am

Yeah I modded it so that if I selected it as a special it would echo "see detail for price" that will get my by until I learn more about php conditionals. I changed it in categories.tpl, search.tpl, and home.tpl

But I do plan on eventually making it

<?php if ['price'] = 0.00 then {echo "see product detail for price options";}
else {echo "['price']";} ?>

Can anyone fix that syntax? I know I got it all screwed up. is that even close?
Thanks for the post Qphoria

By the way I did not even know what an <a> anchor was a month ago.


Posts

Joined
Sun Jan 24, 2010 1:21 am

Post by i2Paq » Sun Jan 24, 2010 6:25 pm

@matthew@wormsetc.com ,

Have a look: Here.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 12 guests