Keresés

Új hozzászólás Aktív témák

  • radi8tor

    MODERÁTOR

    válasz pelyib #19794 üzenetére

    Ja sejtettem, de nem okozott ez hibát nekem 1+ éve, max annyit hogy szemetelt az error.log-ba.

    2019-06-18 19:47:41 - PHP Notice: Undefined index: priceISO in product.php on line 1110
    2019-06-18 19:47:41 - PHP Notice: Undefined index: stockStatus in product.php on line 1112

    Viszont itt más szintaktika kellene, tudnál ebben is segíteni? :B

    $result .= '"offers": {
    "@type": "Offer",
    "price": "'. $data['priceISO'] .'",
    "priceCurrency": "'. $cur .'",
    "availability": "'. $data['stockStatus'] .'",
    "itemCondition": "http://schema.org/NewCondition",
    "url": "'. $this->url->link('product/product', 'product_id=' . $this->request->get['product_id']) .'",
    "priceValidUntil": "2099-12-31"
    } '."\r\n";

    Aztán most már tényleg nem nyaggatlak titeket a log tisztításával. :D

    [ Szerkesztve ]

    ⭐ Stella

Új hozzászólás Aktív témák