SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic "Latest product widget" tile view 3361 Views

"Latest product widget" tile view

28 March 2013 at 7:50am Last edited: 28 March 2013 7:51am

Greetings guys,
I am newbie to silvercart and I am trying to change the list view of "latest product widget" to tile view but no success. I have very basic PHP code. Can someone please point me the right direction.
Cheersss

Re: "Latest product widget" tile view

28 March 2013 at 3:49pm

Hello vitbeo,

unfortunately the templates for this widget for list and tile view are exactly identical - thanks for pointing that out.

To change the tile view template you should work with the file "silvercart/templates/Includes/SilvercartWidgetProductBoxTile.ss" (for examples of working with templates see the theming documentation).

Greetings,
Sascha

Re: "Latest product widget" tile view

1 April 2013 at 12:49pm Last edited: 2 April 2013 11:24pm

Thanks Sascha,

I get this error when trying access Countries option via Admin.
-[User Error] SQLMap query could not retrieve className
-user_error('SQLMap query could not retrieve className', E_USER_ERROR);

Silvercart 1.3.6+ Silverstripe 2.4.7.
Apart from this everything run correctly. Hope you can help me.

Thanks alot.

* Please ignore this question. It's database error. All fixed after fresh install. Cheers

Re: "Latest product widget" tile view

6 April 2013 at 3:30pm

Hi vitbeo,

I am happy to see that your issue is resolved.

Cheers
Ramon