Wednesday, June 19th 2013, 5:33am UTC+2

You are not logged in.

  • Login
  • Register

Unterschiedliche TPLs für Produktlisting als Auswahl

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

1

Friday, August 6th 2010, 7:58pm

Unterschiedliche TPLs für Produktlisting als Auswahl

Magento bietet von Haus aus die Möglichkeit, direkt im Produktlisting zwischen zwei unterschiedlichen Ausgaben für die anzuzeigenden Produkte auszuwählen. Dort kann man dann also die Ausgabe als Liste oder Boxen über einen Link im Template auswählen.

Wie ließe sich das, mal abgesehen von dem zweiten TPL für das Listing (obwohl dies auf per CSS realisierbar wäre), für HHG realisieren?
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,374

Thanks: 37

Occupation: CEO

2

Friday, August 6th 2010, 9:31pm

Da ja alle Daten in der Listing vorliegen, kannst Du eigentlich einen eigenen Get Parameter bestimmen und diesen im Template abfragen, dem entsprechten kannst Du dann z.B. die Klasse bzw. ID vom Haupt-Div ändern. Get Parametert kannst Du mittels Smarty mit
(This term was hidden for guests. To be able to read it you should register!)
abfrragen, z.B.
(This term was hidden for guests. To be able to read it you should register!)
Damit würde bei
(This term was hidden for guests. To be able to read it you should register!)

(This term was hidden for guests. To be able to read it you should register!)
an die ID dran gehangen werden. Das gleiche kann man aber auch in der PHP machen, wenn es ungebedingt sein muss.
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

3

Friday, August 6th 2010, 9:48pm

Sehr zexy, so langsam wirds... Sind nur noch zirka 80 Punkte auf meiner Liste, ich hoffe Du hast ein dickes Fell ;)
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,374

Thanks: 37

Occupation: CEO

4

Friday, August 6th 2010, 9:52pm

Wenn ich kein dickes Fell hätte würd ich nicht seit gut 6 Jahren mit Communities beschäftigt sein. ;)
Abgesehen von Mitarbeitern, Azubis, Geschäftspartnern und natürlich Personen, die nur mein bestes wollen :D
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

5

Friday, August 6th 2010, 9:58pm

Hmm... So wie ich das sehe brauchst Du bei dem Tempo das Du vorlegst eigentlich keine Mitarbeiter beschäftigen =)
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,374

Thanks: 37

Occupation: CEO

6

Friday, August 6th 2010, 10:02pm

Ohne Mitarbeiter, die mir den Rücken freihalten, was Aufträge, Kunden etc angeht, könnt ich das Tempo nicht bringen. ;)
H.H.G. A.Ş.
Hasan H. Gürsoy (CEO)
--------------------------------------------------------------------------------------------------------------------
Shopsoftware - Shopsystem - Webshop - Onlineshop - Sanal mağaza - Sanal market - eTicaret
  • Go to the top of the page