Jump to content
johnel

Preturi magazin

Recommended Posts

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
On 10/25/2019 at 9:25 PM, johnel said:

prestashopul este 1.7, ma pot ajuta?

Vezi PM.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More