Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Porting 2.2 addon - Minimum Product Quantity - to 2.3


25 replies to this topic

#21 NodsDorf

  • Community Member
  • 1,233 posts
  • Real Name:Don Ford
  • Gender:Male
  • Location:ohio usa

Posted 09 February 2012, 14:47

You uploaded the same file again.

By clicking, I mean clicking a navigation link or refreshing the page.

The only behavior that is different on your site then mine is the shopping cart page after you add a product the text input box isn't updated to the min order quantity. Everything else is working identical and has been that way since our 2.2 rc2a shop was built. (3 years ago).

#22 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 09 February 2012, 15:22

Yes, and that behaviorial difference is exactly what I want to fix.

Given any thought to rereleasing this addon as 2.3.1 compatible? I managed to get this to work with another excellent addon (Simple Checkout, OPC successor for 2.3.1), and I would love to declare MPQ for 2.3.1 as compatible with SCO.

I've no idea how I mistaked the files again. This time you can see that the file size is visibly diferent as well.

Attached Files



#23 NodsDorf

  • Community Member
  • 1,233 posts
  • Real Name:Don Ford
  • Gender:Male
  • Location:ohio usa

Posted 09 February 2012, 16:05

I think I have fixed your issue.

You were drawing the input box prior to the min qty code being executed.

Please try the revised file attached below.

Hope that helps

Attached Files



#24 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 09 February 2012, 17:30

I see, now that I've read the code a little (rather than just blindly find similarities and paste more code), I understand what moving the code before those lines did. Thank you!

Okay, this is going to a level of nag, but are you using the admin stuff?

#25 NodsDorf

  • Community Member
  • 1,233 posts
  • Real Name:Don Ford
  • Gender:Male
  • Location:ohio usa

Posted 09 February 2012, 18:49

Nope,

I have no need for the admin stuff way to many products to try and update stuff there, I use a commercial add-on to handle uploads which does allow for you to set the min order.

#26 oxwivi

  • Community Member
  • 224 posts
  • Real Name:Oxwivi Oxwil

Posted 09 February 2012, 19:27

Right. Thanks for all the help. Really appreciate it.