Giter VIP home page Giter VIP logo

omnibus's People

Contributors

henryktews avatar iworks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

omnibus's Issues

The price does not update depending on the selected variant.

Hi, the price in omnibus does not change when we have discounted, for example, only one variant. The value remains this "lowest" of the other variant anyway. It also does not work dynamically when it reloads a variant. - omnibus price does not change

Omnibus and Discount Rules for WooCommerce

Hello!
I'm using a plugin for quantity discounts Discount Rules for WooCommerce By Flycart (https://wordpress.org/plugins/woo-discount-rules/). The plugin also allows for dynamic price calculation when a customer clicks the "+" button to increase the quantity (https://docs.flycart.org/en/articles/4178894-display-discounted-price-with-strikethrough-on-default-prices?utm_source=woo-discount-rules-v2&utm_campaign=doc&utm_medium=text-click&utm_content=show_strike_out_setting) section "Show on quantity update (Dynamic)"

However, as soon as this price refreshes, the notification about the last price from your plugin disappears. If I disable this dynamic behavior, your plugin works normally.

Any idea if I can handle this by myself, or if you could check and enhance your plugin?

Thank you

Prices not showing for variants

Prices for variants are not showing - only option "Product with variants: general" works but not for particular variants - there is no info at all.

Problem after upgrade to 2.5.2

Hello!
After upgrading the plugin from version 2.5.0 to 2.5.2, two issues have arisen.
When I go to quick edit a product and click update, the spinning wheel indicating progress spins indefinitely. However, the changes are still saved.
The second issue is that on a page created with Elementor, including a "product" after clicking update, it shows a "server error 403".
Today, we spent the whole day looking for the problem, as we recently migrated the site to a new server and didn't think of anything else. When we ran out of ideas on what else to try, I started deactivating plugins. If I deactivate your plugin, the issues disappear. Also, if I install version 2.5.0, everything works normally. The problem reappears immediately after upgrading to 2.5.2.
I have tested the same thing on a completely different server and setup, and the error is the same!

Finale Lite problem

Hello,

I have a following issue. The product history price looks like that

Zrzut ekranu 2024-01-19 o 22 31 12

However, on the product page there is a different price displayed for the lowest in 30 days:
Zrzut ekranu 2024-01-19 o 22 31 46

Why is it wrong?

This is a discount set with Finale Lite plugin for this product.

When prices are edited by bulk edit using eg. wp sheet editor it does not show last price.

The plugin is great for price change for single product, however when you want to make bulk change using plugins which refers directly do database eg. WP Sheet Editor the Omnibus plugin does not show last lowest price. In WP sheet editor you can change fields: promo price, start promo price, end promo price, Iwo last price drop timestamp, Iwo price last: change: price 1; Price Sale:1; Timestamp: 1 etc., however those changes made manually affects only promo price change. For bulk promo changes the plugin is uselless unfortuatelly.

`get_price_including_tax` deprecated

Cześć,

W ostatniej wersji używasz metody get_price_including_tax(), która jest już deprecated.
Dokładnie w 3 miejscach:
image

To betonuje mi logi w tysiącach wpisów:
PHP Deprecated: Funkcja WC_Product::get_price_including_tax jest przestarzała od wersji 3.0! Zamiast jej proszę użyć wc_get_price_including_tax.

Pytanie:
Czy do momentu wyjścia nowej wersji, wystarczy zmiana tej metody na funkcje wc_get_price_including_tax()?
I czy tylko zakładasz pierwszy argument jako obiekt klasy WC_Product czy w drugim też przekazać jakieś dane?
Czy coś jeszcze do podmiany?

Po poprawce widzę to tak:
image

Możliwość edytowania cen z ostatnich 30 dni

Są dwie sytuacje, które warto przewidzieć:

  • duplikowanie produktów, czyli tworzenie nowych na podstawie starych - w tym wypadku najniższa cena z ost. 30 dni także jest kopiowana, co często jest niewskazane.
  • pomyłkowe ceny. W przypadku gdy ktoś wpisze niewłaściwą cenę, mimo że obowiązywała na stronie przez chwilę, to wyświetlanie jej w historii cen nie będzie wskazane.

Rozwiązanie:
a) wyświetlanie historii ceny w edycji produktu, by móc jakąś pozycje usunąć,
b) po prostu umożliwić ręczne wpisanie ceny z 30 dni w edycji produktu.

Incorrect Tax Inclusion in Displayed Prices

I've encountered within the system where the tax inclusion settings do not seem to be functioning correctly.

Despite having the following tax options enabled:

  • Include tax
  • Display price with tax

When viewing the option "Display current regular price" along with the message "Lowest price from the last {days} days: {price}", the price that is displayed is the net price, not the gross price as expected.

However, when the "Display current promotional price" option is selected, the gross price is displayed correctly, with taxes included.

It appears there is a discrepancy in how the tax is applied in displaying regular prices versus promotional prices. This could lead to confusion for customers who expect tax to be included in all displayed prices as per the settings.

I would appreciate it if your team could investigate this issue and provide a resolution. If any further information or screenshots are required, please let me know, and I will be happy to provide them.

PHP Warning on PHP 8.1 with new Woo PL translation

After last Woocommerce PL translation update I see this Warning in logos:

PHP Warning: Undefined array key "price" in /wp-content/plugins/omnibus/includes/iworks/omnibus/integration/class-iworks-omnibus-woocommerce.php on line 429

Call to a member function get_tax_class() on null

Wersja 2.5.5 rzuca takim błędem (2.5.4 jest ok):

Fatal error: Uncaught Error: Call to a member function get_tax_class() on null in /wp-content/plugins/omnibus/includes/iworks/omnibus/class-iworks-omnibus-integration.php:338
Stack trace: #0 /wp-content/plugins/omnibus/includes/iworks/omnibus/integration/class-iworks-omnibus-integration-woocommerce.php(467): iworks_omnibus_integration->add_message()

Lowest historical price not calculated properly

Hi, small bug report extracted from one of my production stores and reproduced locally.

Steps to reproduce:

  1. Plugin version 2.3.9, plugin is set to display lowest price from last 30 days. Clock set to 02.08.2023 or later.

  2. Clear meatdata for test product (replace X with test product id)

SELECT * FROM wp_postmeta WHERE post_id = X AND meta_key LIKE '%iwo%'

  1. Import meatdata sample for test product (replace X with test product id)

INSERT INTO wp_postmeta (meta_id, post_id, meta_key, meta_value) VALUES
(4785319, X, '_iwo_price_lowest', 'a:3:{s:5:"price";s:4:"1936";s:9:"timestamp";i:1675908204;s:4:"type";s:9:"autosaved";}'),
(4827751, X, '_iwo_price_lowest', 'a:4:{s:5:"price";s:4:"2200";s:9:"timestamp";i:1678204781;s:13:"price_regular";s:4:"2200";s:10:"price_sale";s:0:"";}'),
(4827752, X, '_iwo_last_price_drop_timestamp', '1679567887'),
(4829297, X, '_iwo_price_lowest', 'a:2:{s:5:"price";s:4:"1936";s:9:"timestamp";i:1678324509;}'),
(4833070, X, '_iwo_price_lowest', 'a:4:{s:5:"price";s:4:"2200";s:9:"timestamp";i:1678377930;s:13:"price_regular";s:4:"2200";s:10:"price_sale";s:0:"";}'),
(4835450, X, '_iwo_price_lowest', 'a:2:{s:5:"price";s:4:"1936";s:9:"timestamp";i:1678496983;}'),
(4853549, X, '_iwo_price_lowest', 'a:4:{s:5:"price";s:4:"2200";s:9:"timestamp";i:1679567887;s:13:"price_regular";s:4:"2200";s:10:"price_sale";s:0:"";}');

Expected behaviour

Plugin calculates lowest price to 2200

Current behaviour:

Plugin calculates lowest price to 1936
Commenting out line
https://github.com/iworks/omnibus/blob/main/includes/iworks/omnibus/class-iworks-omnibus-integration.php#L243C4-L243C4 fixes the problem

Omnibus plugin confict with WP Desk InPost plugin

When using Omnibus v3.0.2 with Wp Desk WooCommerce InPost v4.4.7 we get error:

Screenshot 2024-04-05 at 11 36 20

This conflict between plugins additionally causes that changes made in product editing cannot be saved. The ajax request to save the product spins until the timeout (even several seconds).

The problem stops after disabling one of the 2 plugins (no matter which).

Błąd typu E_PARSE po instalacji

Po instalacji "Wystąpił błąd krytyczny w witrynie". Poniżej treść z raportu mailowego:

Do rozwiązania problemu, mogą być potrzebne poniższe dane:
WordPress w wersji 5.9.5
Aktualna wtyczka: Omnibus (wersja 2.3.2)
Wersja PHP: 7.2.34

Szczegóły błędu

Błąd typu E_PARSE został spowodowany w linii 247 pliku /wp-content/plugins/omnibus/includes/iworks/omnibus/integration/class-iworks-omnibus-integration-woocommerce.php. Komunikat błędu: syntax error, unexpected ')'

PHP Warning: Undefined array key “price”

Lately we have been getting this error to show up. It seems to happen when the product is saved that includes variations. Any idea how we could get this sorted out?

PHP Warning: Undefined array key “price” in:

if ( $o['price'] < $price_lowest['price'] ) {
$price_lowest = $o;
}

Original issue: https://wordpress.org/support/topic/php-warning-undefined-array-key-price/

Show the lowest price before promotion

Good morning! First of all I would like to thank you for this plugin. It's great!

I'm writing this suggestion, because maybe other people may think the same. The lowest price from last 30 days shows also the current one, which looks like we don't have a promotion at all. Example below:
image
I see that for example Empik has the lowest price from 30 days before the promotion was applied. Is it something we could implement here as well? Example below:
image

Thank you

Omnibus Message not showing when price is 0

Hello, as the title says, we have the problem that the Omnibus message is not showing when the price (or sale price) of the product is 0.
According to our polish customers, the infos must also show in this case.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.