Jump to content
  • 0

Zmiana ceny netto na brutto.


greg1987

Question

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...