Wednesday, June 19th 2013, 2:46pm UTC+2

You are not logged in.

  • Login
  • Register

Styles für Produktlisting

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

1

Saturday, March 26th 2011, 7:28am

Styles für Produktlisting

Wir verwenden unterschiedliche Varianten im Produktlisting, insbesondere lange Listen in der viele Artikel zu finden sind. Für diese Listen würde ich gerne eine Formatierung mit CSS vornehmen, sodass jeder zweite Eintrag beispielsweise eine andere Farbe bekommt. Wo muss ich im Template des Listings ansetzen beziehungsweise wie kann ich dem Modul beibringen, dass es jedem zweiten Eintrag eine CSS-Klasse mit auf den Weg gibt, sodass ich die Ausgabe formatieren kann?
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

franky_n

Professional

Date of registration: Mar 26th 2009

Posts: 615

Thanks: 29

2

Saturday, March 26th 2011, 5:18pm

Hallo Supporter,

Du könntest in der core/classes/class.product_list.php in der Funktion RenderGrid() in Z.62 das:

(This term was hidden for guests. To be able to read it you should register!)

erweitern in das:

(This term was hidden for guests. To be able to read it you should register!)


Und dann in der Funktion get_prod_list() in Z.255 das:

(This term was hidden for guests. To be able to read it you should register!)

ändern in das:

(This term was hidden for guests. To be able to read it you should register!)

und in Z.254ff das:

(This term was hidden for guests. To be able to read it you should register!)

ändern in das:

(This term was hidden for guests. To be able to read it you should register!)


Dann im Template store_files/1/themes/hhg_ms_r2/modules/product_listing/product_listing_v1.html den Platzhalter:

(This term was hidden for guests. To be able to read it you should register!)

nutzen um die Zeile per CSS zu markieren z.B. mit:

(This term was hidden for guests. To be able to read it you should register!)

und dann in der stylesheet.css definieren:

(This term was hidden for guests. To be able to read it you should register!)


Viele Grüße

Franky
  • Go to the top of the page

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

3

Saturday, March 26th 2011, 5:23pm

Ungetestet, aber trotzdem ein dickes fettes Danke!
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

HHGAG

Sage

Date of registration: Jun 14th 2008

Posts: 15,376

Thanks: 37

Occupation: CEO

4

Monday, March 28th 2011, 2:55pm

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

Saturday, April 16th 2011, 5:10pm

Ungetestet, aber trotzdem ein dickes fettes Danke!


Hallo franky_n

Ich bin heute dazu gekommen es zu testen. Es funktioniert, allerdings nicht wenn man den Produktfilter benutzt und teilweise auch so nicht. Ist ein bisschen merkwürdig.

Viele Grüße
Supporter
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page

franky_n

Professional

Date of registration: Mar 26th 2009

Posts: 615

Thanks: 29

6

Sunday, April 17th 2011, 11:33am

Hallo Supporter,

naja die Angabe "manchmal wohl manchmal nicht" ist so präzise wie:

"Wann fahrt ihr in Urlaub?"
"Manchmal im Sommer und manchmal im Winter!" :D

Viele Grüße

Franky
  • Go to the top of the page

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

7

Sunday, April 17th 2011, 12:13pm

Hallo franky_n

Sorry wenn ich nicht präzise genug war, ich weiß leider nicht mit Sicherheit warum das Verhalten so ist. Jedenfalls habe ich den Eindruck, dass es in erster Linie bedingt durch den Produktfilter auftritt. Immer dann, sobald man etwas ausgewählt hat, fehlen im Quelltext die IDs vom Marker und es schaut so aus, als würden diese nicht gesetzt. Mehr kann ich dazu nicht sagen.

Viele Grüße
Supporter
Ειμαστε στη μεση απο κατι...

This post has been edited 1 times, last edit by "Supporter" (Apr 17th 2011, 12:28pm)

  • Go to the top of the page

Supporter

Professional

Date of registration: May 28th 2010

Posts: 1,079

Thanks: 8

8

Tuesday, April 19th 2011, 9:59pm

Hallo franky_n

Ich habe mir das noch einmal angesehen, es scheint wirklich am Produltfilter zu liegen. Scheinbar ist es so, als wüsste die Funktion dann nicht mehr welche ID gesetzt werden soll. Aber egal, ich habe mit jetzt mit Smarty beholfen, so wie HHGAG vorgeschlagen hat - vielen Dank dafür.

Viele Grüße
Supporter
Ειμαστε στη μεση απο κατι...
  • Go to the top of the page