Jump to content

nastavenie - dodavatel, vyrobca, Evidecne cislo, dodavatelske cislo, ean13


peterpavoll
 Share

Recommended Posts

Caute prosim vas neviete mi poradit kde sa da nastavit aby bolo vidiet v obchode dodavatela vyrobca a ostatne veci, evidecne resp dodavatelske cislo, ean a podobne
vdaka hladal som aj na tomto fore ale bohuzial som nic nenasiel

dakujem

Share this post


Link to post
Share on other sites

Bohuzel povolenim jednoho tlacitka v obchode to nepujde. Budete k tomu muset prizpusobit sablonu (product.tpl). Pokud chcete zobrazit v detailu produktu tyto udaje, tak prikladam maly tahak .-) Samozrejme je potreba to opatrit patricnymi "ify", nechcete prece vypisovat neco, co zrovna treba nemate nastaveny.

//kod zbozi
{$product->reference|escape:'htmlall':'UTF-8'}

//kod zbozi dodavatele
{$product->supplier_reference|escape:'htmlall':'UTF-8'}

//ean13
{$product->ean13|escape:'htmlall':'UTF-8'}

// vyrobce vc. odkazu na nej
manufacturer_name|escape:'htmlall':'UTF-8'}" href="{$base_dir}manufacturer.php?id_manufacturer={$product->id_manufacturer}">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}



Ziskat nazev dodavatele neni tak jednoduchy. Cekal bych, ze to bude stejny jako s vyrobcem, takze bych cekal existenci nejakeho {supplier_name}, ale nic takoveho ve Smarty neni assignovany. Více viz tento odkaz.

Share this post


Link to post
Share on other sites

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
 Share

×
×
  • Create New...

Important Information

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