johnel Posted October 25, 2019 Share Posted October 25, 2019 Buna ziua, As dori ca in momentul in care introduc preturile sa am pretul de achizitie al produsului si sa pot adauga u procent pentru pretul final care as apara in magazin Ma puteti ajuta Multumesc Link to comment Share on other sites More sharing options...
Marius05 Posted October 25, 2019 Share Posted October 25, 2019 Salut. Adica vrei sa introduci pretul de achizitie, sa ai un camp in plus numit de ex: Adaos produs si in momentul in care introduci pretul de achizitie , pe baza valorii trecute in campul Adaos produs sa ti se completeze automat campul de Pret al produsului. Am inteles bine? Link to comment Share on other sites More sharing options...
johnel Posted October 25, 2019 Author Share Posted October 25, 2019 Da exact Link to comment Share on other sites More sharing options...
Marius05 Posted October 25, 2019 Share Posted October 25, 2019 Se poate face ce vrei, dar trebuie facute cateva modificari. Link to comment Share on other sites More sharing options...
johnel Posted October 25, 2019 Author Share Posted October 25, 2019 Ce modificari ar trebui sa fac? Link to comment Share on other sites More sharing options...
Marius05 Posted October 25, 2019 Share Posted October 25, 2019 Pe scurt: se modifica clasa products. (pentru a dauga noul camp pentru adaos), se modifica template-ul pentru a afisa campul imput pentru adaos si ceva cod js pentru a copleta si calcula direct campul pret al produsului cu valorile tecute la pret achizitie si adaos. In principiu cam astea sunt modificarile... Difera cum se aplica in functie de versiunea de prestashop. Link to comment Share on other sites More sharing options...
johnel Posted October 25, 2019 Author Share Posted October 25, 2019 prestashopul este 1.7, ma pot ajuta? Link to comment Share on other sites More sharing options...
Marius05 Posted October 27, 2019 Share Posted October 27, 2019 On 10/25/2019 at 9:25 PM, johnel said: prestashopul este 1.7, ma pot ajuta? Vezi PM. Link to comment Share on other sites More sharing options...
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