Support

Home Forums Event Espresso Premium Price Modifier – Limit

Price Modifier – Limit

Posted: September 17, 2014 at 2:14 am


Andrew Dunn

September 17, 2014 at 2:14 am

Hello,

In the Price Modifier add-on when adding a new question, it references be able to limit the quantities. I set this as 1, and proceeding with a test order and completed with IPN payment notification.

This hasn’t worked as desired. Can I limit the price modified purchases to 40 and then subsequently remove/disable the input when 40 have been confirmed purchased?

Thanks
Simon


Andrew Dunn

September 17, 2014 at 2:24 am

Here is the data object for my question modifier.

stdClass Object ( [id] => 20 [sequence] => 0 [question_type] => MULTIPLE [question] => Delegate Dinner Attendance [system_name] => [response] => Attending Delegate Dinner|100.00 [required] => N [price_mod] => Y [required_text] => [admin_only] => N [wp_user] => 1 [price_mod_qty] => Attending Delegate Dinner|10 [price_mod_sold] => [price_mod_total] => 0 [group_name] => Congress Information [group_description] => [show_group_name] => 1 [show_group_description] => 1 [group_identifier] => congress-information-1410869148 )

You can see that price_mod_sold is empty, and price_mod_total is 0.


Andrew Dunn

September 17, 2014 at 4:15 am

Looking at the setup, it appears Price Modifiers Items Sold does not update? For example: http://i.imgur.com/uaFEzrZ.png

If I purchase the price modifier it doesn’t automagically do anything. However, if I set it manually to 1 the price modifier disappears. 🙂

Is there a possible fix for this, it’d be REALLY appreciate. Happy with code instructions.


Lorenzo Orlando Caum

  • Support Staff

September 17, 2014 at 1:18 pm

Hi,

This is a known bug that has already been reported. It has not yet been reviewed by the development team.


Lorenzo


Andrew Dunn

September 30, 2014 at 8:22 am

Hello,

It seems to be working, the number is going up, and is related to whether a Completed flag is passed?

Thanks


Josh

  • Support Staff

October 1, 2014 at 9:52 am

Hi Andrew,

Did you set the Price Modifiers Items Sold value like this (before testing?)

Item-A|0, Item-B|0, Item-C|0

The support post ‘Price Modifier – Limit’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso