Post by rph » Tue Oct 16, 2012 11:21 pm

Yes, you can still set up non-dependent options as normal and use them at the same time as dependent options.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by pandaci » Tue Nov 20, 2012 5:00 am

Hi,

I buy your extension. I have one question. I have 3 option
1 option
-label a
-label b
2 option
-10
-20
3 option
-15
-25

I want if i choose from 1 option label a I have on page only option 2, option 3 hide and if i choose label b option 2 is hide but option 3 i have on page.
I have a question - Can I change it somehow? may be in code

Newbie

Posts

Joined
Sun Nov 04, 2012 5:11 am

Post by rph » Tue Nov 20, 2012 7:24 am

There isn't a facility for completely hiding the option group. In this case I would suggest consolidating some of your options together.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by pandaci » Wed Nov 21, 2012 4:28 am

Thanks for answer. I have one more question.
I have 3 option
1 option
-label a
-label b
2 option
-10
-20
3 option
-10
-20
http://szablony.freeware.info.pl/kodowanie.html
If i choose option 1 label a and option 2 - 10 then I automatically choose in option 3 -10 too?
Last edited by pandaci on Wed May 20, 2015 7:33 pm, edited 1 time in total.

Newbie

Posts

Joined
Sun Nov 04, 2012 5:11 am

Post by rph » Wed Nov 21, 2012 9:01 am

The only way to do that is to set Option 2 as the parent of Option 3.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by DSGI » Fri Nov 23, 2012 11:28 pm

Hi RPH -

I'm trying to use Dependent Options with my OC development site. I'd like to have it hide an entire option rather than just the option values. I've seen three other people ask for this feature on this forum, is that something you would be able to implement and sell in the OC extension store as an additional new mod?

I'd be very interested in paying an additional $25.00 - $50.00 for that kind of functionality - but I'm afraid I couldn't afford to fund the entire development effort for that kind of functionality, working on a limited budget here.

Thanks for your considerations! :)

DSGI

New member

Posts

Joined
Wed Feb 08, 2012 5:28 pm

Post by pandaci » Sat Nov 24, 2012 5:48 am

I have one more question.
What I must to do when I want show option when i click add to cart i home page in latest product.
Now when I click basket icon I go to product page. I want see option popup window when I click basket icon on home page. Do you now when I must change something?

Newbie

Posts

Joined
Sun Nov 04, 2012 5:11 am

Post by rph » Sat Nov 24, 2012 6:24 am

DSGI wrote:Hi RPH -

I'm trying to use Dependent Options with my OC development site. I'd like to have it hide an entire option rather than just the option values. I've seen three other people ask for this feature on this forum, is that something you would be able to implement and sell in the OC extension store as an additional new mod?

I'd be very interested in paying an additional $25.00 - $50.00 for that kind of functionality - but I'm afraid I couldn't afford to fund the entire development effort for that kind of functionality, working on a limited budget here.

Thanks for your considerations! :)

DSGI
I had another customer email and say they got it working by editing jquery.chained.mini.js and changing:

Code: Select all

.attr("disabled","disabled")}else{a(c).removeAttr("disabled")
to:

Code: Select all

.attr("disabled","disabled").hide()}else{a(c).removeAttr("disabled").show()

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by rph » Sat Nov 24, 2012 6:28 am

pandaci wrote:I have one more question.
What I must to do when I want show option when i click add to cart i home page in latest product.
Now when I click basket icon I go to product page. I want see option popup window when I click basket icon on home page. Do you now when I must change something?
I'm not quite sure what you're asking. There is this extension which might be what you're talking about. It's a flat fee of $30 for a modified version of Dependent Options which works with it.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by pandaci » Sat Nov 24, 2012 9:04 pm

Yes, but this extension cost 10$, is any extansion like this and is free? I spend 40$ for your extension and I don't have any $$ for this product. Is this extansion do "add to cart" with pop-up window in "latest product" on home page?

Newbie

Posts

Joined
Sun Nov 04, 2012 5:11 am

Post by rph » Sun Nov 25, 2012 2:09 am

Businesses are an investment.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by alan_82 » Sun Nov 25, 2012 7:15 pm

Hi rph,
Thanks for sharing such a great extension, its really made a great difference to my site.

Can i have some help with a problem please?
When the parent option is changed, is it possible to move focus to the child option and select the first option

Reason for question:
I'm using the option price update redux plugin with another vqmod which removes the please select text from the dropdown. (This way when the page loads the first options are selected rather than show please select for everything).

The problem is that when the parent field is changed the first child value is also changed but option price redux isn't recognising it. Presumably because there was no focus on the field?

Can you point me in the right direction please?
Any help would be fantastic.

Newbie

Posts

Joined
Mon Jul 30, 2012 1:35 am

Post by rph » Mon Nov 26, 2012 4:29 am

Try disabling Dependent Options and seeing if the problem still occurs.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by alan_82 » Mon Nov 26, 2012 4:52 am

Hi rph, when dependent options is disabled, the price updater and please select mods work fine together, as only one field is changed at a time.

Thanks again for your help

Newbie

Posts

Joined
Mon Jul 30, 2012 1:35 am

Post by rph » Mon Nov 26, 2012 5:36 am

You have some other modification causing this. You'll have to go through them and figure it out.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by clamore2 » Fri Nov 30, 2012 10:41 pm

I am trying to use Dependent Options to set up a clothes store: I need to insert different sizes and colors for each product (and I can do that) but what i need is the ability to subtract the correct ones from my total.

If I have the following products:
2x Small White t-shirt
5x Small Blue t-shirt
6x Medium Blue t-shirt
1x Medium Red t-shirt
2x Large Red t-shirt
9x Large White t-shirt

I need to be able to set up each entry (due to different quantities), but every time I try I get the "You may only use an option value once per product!" error. This is, in my opinion, wrong, because if the only way to do it is with a "general" quantity, I would need to insert (for example) "11 Large Red and White t-shirts", but if 2 people buy the Red version, I'm left with "9 Large Red and White t-shirts", but I'm out of red t-shirts.

Can this be fixed?

Thanks!

Newbie

Posts

Joined
Wed Oct 26, 2011 9:42 pm

Post by rph » Sat Dec 01, 2012 12:11 am

Info is in the README.pdf.

There will be a workaround for this in the next release whenever I'm able to finish it up. Until then use the method in the README file.

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska

Post by DSGI » Tue Dec 04, 2012 9:01 am

Hi RPH -

I'm trying to make your script work with the custom formula mod (http://www.opencart.com/index.php?route ... on_id=7418). Everything seems to play nicely and it's doing what I want, but I'm also using the option price updater part of the mod linked to earlier and it doesn't always refesh the price correctly for the dependent options. After emailing back and forth with the developer of the mod, he told me that i needed the following:
OPA attaches a hook to every field that is rendered by OpenCart to fire an update event when field is changed by the customer, but "Dependent Options" changes, adds or update fields out of OpenCart so OPA doesn't know about the field change. If you could detect what fields are added by "Dependent Options" we can add the eventhandler for that new.
You can see standard handler for OpenCart in OPA XML:
$('#product_add_to_cart_form input[type=\'radio\'], #product_add_to_cart_form input[type=\'checkbox\'], #product_add_to_cart_form select').bind("change", function(){ esponi_OTF($(this)); });
basically, I'm hoping you could PM or email me the event handling for the Dependent Options so I can have the developer of the mod linked above add it to his mod to make his mod and your mod completely functional together.

Thanks!

DSGI
info@nwfineartprinting.com

New member

Posts

Joined
Wed Feb 08, 2012 5:28 pm

Post by tragetaschen » Tue Dec 04, 2012 11:22 pm

Hi RPH!

My problem:

When i select the products for the first time the price-update is correct. If i change the first option the price-update selcect automatically the XX€ from option 2. This will be change when you selct the 2nd option again but i need to fix the update-problemen when i change the product in option 1!

Cheers
Rene
Link

Here you can see what i mean. Selcect a produkt -> Format -> 18x24+8cm = 96,00€ then select the 2nd option -> Gebühr: 2,11€ now it´s a total of 98,11€ and OK... now change the "Format" to "22x29+10cm" and you will see that the Price is updated totaly wrong 87,11€! there must be 85€ without "Gebühr" but it´s updated with the "Gebühr" from the the task before... pls help.

www.bag-stage.de


User avatar
New member

Posts

Joined
Tue Dec 04, 2012 10:57 pm
Location - Germany

Post by rph » Wed Dec 05, 2012 2:10 am

DSGI wrote:Hi RPH -

I'm trying to make your script work with the custom formula mod (http://www.opencart.com/index.php?route ... on_id=7418). Everything seems to play nicely and it's doing what I want, but I'm also using the option price updater part of the mod linked to earlier and it doesn't always refesh the price correctly for the dependent options. After emailing back and forth with the developer of the mod, he told me that i needed the following:
OPA attaches a hook to every field that is rendered by OpenCart to fire an update event when field is changed by the customer, but "Dependent Options" changes, adds or update fields out of OpenCart so OPA doesn't know about the field change. If you could detect what fields are added by "Dependent Options" we can add the eventhandler for that new.
You can see standard handler for OpenCart in OPA XML:
$('#product_add_to_cart_form input[type=\'radio\'], #product_add_to_cart_form input[type=\'checkbox\'], #product_add_to_cart_form select').bind("change", function(){ esponi_OTF($(this)); });
basically, I'm hoping you could PM or email me the event handling for the Dependent Options so I can have the developer of the mod linked above add it to his mod to make his mod and your mod completely functional together.

Thanks!

DSGI
info@nwfineartprinting.com
Not quote following what you need. If you're look for the javascript, it's:

Code: Select all

<script type="text/javascript"><!--
$('#option-<?php echo $chained_option['child']; ?>').chained('#option-<?php echo $chained_option['parent']; ?>');
//--></script>

-Ryan


rph
Expert Member

Posts

Joined
Fri Jan 08, 2010 5:05 am
Location - Lincoln, Nebraska
Who is online

Users browsing this forum: No registered users and 17 guests