• Resolved draszka

    (@draszka)


    After enabling the plugin and setting the lowest price range to 124 days back, the plugin still displays the current price, not the lowest price in that time.

    Before having this issue, plugin displayed error in the place where the lowest price should appeared:

    Deprecated: Return type of WPDesk\Omnibus\Core\Database\Query\Expression\CompositeExpression::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-desk-omnibus/src/WPDesk/Omnibus/Core/Database/Query/Expression/CompositeExpression.php on line 140

    I have made an “improvement” and changed prompt line to:

    #[\ReturnTypeWillChange]
    public function count() { return \count($this->nodes); }

    Error does not display anymore, but still the price is not correct.

    Below there is are screen shots from admin panel:

    https://ibb.co/cT9C9DP
    https://ibb.co/C5xvCf


    • This topic was modified 2 years, 11 months ago by draszka.
    • This topic was modified 2 years, 11 months ago by draszka.
    • This topic was modified 2 years, 11 months ago by draszka.
    • This topic was modified 2 years, 11 months ago by draszka.
    • This topic was modified 2 years, 11 months ago by draszka.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Marcin Pietrzak

    (@iworks)

    @draszka

    First of all, – plugin can NOT display prices that change after the plugin is activated.

    Then you paste something in “woocommerce-ceneo”—how can I fix it?

    My plugin doesn’t use Twig.

    I’m sorry, but I have no idea how I can help you.

    Marcin

    Thread Starter draszka

    (@draszka)

    Przepraszam, z przyzwyczajenia przeszedłem na angielski.

    Co masz na myśli? Aktualnie w historii cen (linki) znajduje się cena 369zł, która powinna zostać wyświetlona jako najniższa. Zamiast tego plugin wyświetla aktualną cenę promocyjną. Dodatkowo, z jakiegoś powodu w polu “Data najniższej ceny” wyświetla się data dzisiejsza, zamiast data ceny historycznie najniższej.

    Wkleiłem zły komunikat błędu, ten poniżej jest poprawny:

    Deprecated: Return type of WPDesk\Omnibus\Core\Database\Query\Expression\CompositeExpression::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /wp-content/plugins/wp-desk-omnibus/src/WPDesk/Omnibus/Core/Database/Query/Expression/CompositeExpression.php on line 140

    Dla pewności wyłączyłem wtyczkę ceneo, Omnibus nadal nie działa.

    O co tu chodzi?

    • This reply was modified 2 years, 11 months ago by draszka.
    • This reply was modified 2 years, 11 months ago by draszka.
    • This reply was modified 2 years, 11 months ago by draszka.
    • This reply was modified 2 years, 11 months ago by draszka.
    • This reply was modified 2 years, 11 months ago by draszka.
    Plugin Author Marcin Pietrzak

    (@iworks)

    @draszka – kod HTML komunikatu o najniższej cenie nie wskazuje, żeby była używana moja wtyczka. Czy na pewno jest użyta moja?

    Marcin

    Plugin Author Marcin Pietrzak

    (@iworks)

    @draszka – zdecydowanie to nie jest moja wtyczka – u mnie nie ma takiego ekranu: https://ibb.co/cT9C9DP

    Thread Starter draszka

    (@draszka)

    Tak to prawda, mimo wszystko dziękuję za pomoc!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin does not display the lowest prices’ is closed to new replies.