WebSite X5Help Center

 
László N.
László N.
User

Nettó és bruttó ár  en

Autore: László N.
Visite 512, Followers 1, Condiviso 0  
Parole Chiave: áfa,website x5 pro 2025.2

Üdv! Tudna valaki segíteni, hogy a weboldalon, hogy tudom megjeleníteni egyszerre, a nettó és a bruttó árát egy terméknek?

Postato il
18 RISPOSTE
László N.
László N.
User
Autore

Így szeretném beállítani.

Van rá mód hogy így jelenjen meg az ár?

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

...while you wait, post the link to your cart page so we can evaluate it...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
Incomedia
Eric C.
Incomedia

Hello Laszlo,
unfortunately the software does not include an option to display both the net and gross price like that.
I remain available.

Online translation:

Szia Laszlo,
sajnos a szoftver nem tartalmaz olyan lehetőséget, amellyel egyszerre jeleníthető meg a nettó és a bruttó ár.
Továbbra is rendelkezésedre állok.

Leggi di più
Postato il da Eric C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

... I calculated that you applied a 27% VAT...
... EXTRA, with my invention that I showed you, adjusting it for your page, you could get this simulated result in this STAMP of mine:

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
László N.
László N.
User
Autore

Ez így tökéletes lenne. Hogy tudnám ezt beállítani?

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

...I'm back now...
...if you're interested in the results of my simulation, let me know, and I'll be back here tomorrow to develop the code for your page...

ciao

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
László N.
László N.
User
Autore

Igen, érdekel! 

Köszönöm!

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

...OK...I'll be back here tomorrow during the day...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

... OK ... this is the code for your linked page, to be pasted in Step_3 in Page Properties > Expert section, option > Before closing /HEAD tag:

<script>
/** -- calcolo e aggiunta IVA x WSx5 by KolAsim -- **/
$(document).ready(function () {//K<;
setTimeout(() => {//K1>;
$('.im-cc-wrapper-row').each(function () {//K2>;
const rawPrice = $(this).text();
const priceCleaned = rawPrice.replace(/\s/g, '').replace('Ft', '');
const price = parseInt(priceCleaned);

if (isNaN(price)) return;

const iva = Math.round(price * 0.27);
const total = Math.round(price + iva);

const formatFt = num => num.toLocaleString('hu-HU').replace(/\./g, ' ') + ' Ft';

const ivaHtml = `
<div class="vat-calculation" style="font-weight:normal;font-size:18px">
+ Áfa (27%): <strong>${formatFt(iva)}</strong><br>
Bruttó ár: <strong>${formatFt(total)}</strong>
</div>`;

$(this).append(ivaHtml);
});//K2<<;
}, 3000);//K1<<;
});//K<<;
</script>

_________________________________

ciao

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
László N.
László N.
User
Autore

Köszönöm a segítséget, de valamiért nem működik, mit kell még csinálnom hogy működjön?

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

...in the source code of your online page (Ctrl+U), I don't see my code applied...
...when you're done, let me know...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
László N.
László N.
User
Autore

az egészet bemásoltam.

Leggi di più
Postato il da László N.
László N.
László N.
User
Autore

szerverre másoltam, ott sem látok változást.

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

...I'm sorry, ...but you didn't do something correctly...
...my code doesn't exist on the online page gyorsvarrogepek.html...
...the online site is still the one from July 26th...

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪
László N.
László N.
User
Autore

Tényleg rossz helyre raktam a kódodat!

Mostmár működik.

Hálássan köszönöm a segítségedet!

Leggi di più
Postato il da László N.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Utente del mese ESUtente del mese IT

... it's OK now, ...although it needs a refresh the first time... ciao

.

Leggi di più
Postato il da  ‪ KolAsim ‪ ‪