Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Out of stock (false) message when confirmation order from Bank Transfer, anyone else?

Featured Replies

Hi, people!

I have an issue I can't understand.

Our store in cajaregistradoraytpv.com was already and selling, and now, when someone makes an order choosing Bank Transfer, inmediately the order state active is "Product Out of Stock".

I though it was a configuration error, but no. The products have stock enough and is not the behaviour configurated on Mail Alerts.

For now it only happens with bank transfer, not PayPal.

I've updated from 1.1.0 to 1.2.0 recently, could it affect in someway, @datakick?

The only related thread I've found is this one https://www.prestashop.com/forums/topic/804020-mensaje-fuera-de-stock-en-cada-pedido/?tab=comments#comment-3071294 but is about PS 1.7, not TB, so the file is not the same, in fact.

I probed that in database, the "awaiting payment with bank transfer" has ID=10, while the Product Out of Stock has ID=9. Maybe is an error on code or miscalculation?

Thanks so much!

 

Edited by danwarrior

bankwire module set order status to the (configurable) value PS_OS_BANKWIRE. Look into the tb_configuration table and check what status id this reference to.

https://github.com/thirtybees/bankwire/blob/master/controllers/front/validation.php#L64

select name, value from tb_configuration where name = 'PS_OS_BANKWIRE';

+----------------+-------+
| name           | value |
+----------------+-------+
| PS_OS_BANKWIRE | 9     |
+----------------+-------+

 

  • Author
On 5/4/2021 at 12:58 AM, datakick said:

bankwire module set order status to the (configurable) value PS_OS_BANKWIRE. Look into the tb_configuration table and check what status id this reference to.

https://github.com/thirtybees/bankwire/blob/master/controllers/front/validation.php#L64


select name, value from tb_configuration where name = 'PS_OS_BANKWIRE';

+----------------+-------+
| name           | value |
+----------------+-------+
| PS_OS_BANKWIRE | 9     |
+----------------+-------+

 

Wow, it was that. I've changed and fixed it, thanks so much!

I supose it maybe happened when I fixed incoherences on database from the core upddater module, after updating from 1.1.0 to 1.2.0.

Thanks so much!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.