greg1987 Posted February 12, 2017 Share Posted February 12, 2017 Witam, Posiadam w sklepie ceny netto, chciałbym zmienić je na brutto. Zmiany w Panelu nic nie dadzą, ponieważ sklep został przebudowany a całą karta produktu została zmieniona. Fragment kodu karty : f (count($nameArr) > 1) { $imageBest = new Image($item['id_image']); $arrBestImageShow[$nameArr[0]][$key]['name'] = 'Wymiar' . $nameArr[1]; $arrBestImageShow[$nameArr[0]][$key]['id_image'] = $item['id_image']; $arrBestImageShow[$nameArr[0]][$key]['legend'] = $imageBest->legend[$this->context->language->id]; $arrBestImageShow[$nameArr[0]][$key]['list'] = str_replace("'", '', $item['list']); $arrBestImageShow[$nameArr[0]][$key]['price'] = ProductCore::getPriceStatic ($this->product->id, false, $key, 2); Czy wystarczy zmienić funkcję : getPriceStatic ? Od razu wspomnę że próbowałem getPriceStatic pomnożyć razy podatek, jednak niestety wtedy karta produktu się nie ładuje. Link to comment Share on other sites More sharing options...
0 REGE Posted February 14, 2017 Share Posted February 14, 2017 Zmień drugi parametr na "true". Odpowiada on za wyświetlanie ceny z podatkiem: ProductCore::getPriceStatic ($this->product->id, true, $key, 2); 1 Link to comment Share on other sites More sharing options...
0 greg1987 Posted February 21, 2017 Author Share Posted February 21, 2017 Dzięki wielkie za pomoc. Link to comment Share on other sites More sharing options...
Question
greg1987
Witam,
Posiadam w sklepie ceny netto, chciałbym zmienić je na brutto. Zmiany w Panelu nic nie dadzą, ponieważ sklep został przebudowany a całą karta produktu została zmieniona.
Fragment kodu karty :
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now