WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: HeidemanMedia on June 07, 2011, 06:50:44 PM

Title: Ascending Order and Descending Order - update
Post by: HeidemanMedia on June 07, 2011, 06:50:44 PM
a nice possibility in a next update would be:
Ascending Order and Descending Order in the back-end.

at this moment the oldest product is first... it is possible to change, I know but not for a client and that's sad.

for example I build http://www.goodbookshop.nl the newest books always must been showed as first:)
Title: Re: Ascending Order and Descending Order - update
Post by: freeSbee on June 07, 2011, 07:45:52 PM
Hi HeidemanMedia

Are you taking about the stock administration in the backend
or the order of the items in the frontend / customer view?

Regards Christoph
Title: Re: Ascending Order and Descending Order - update
Post by: Bug on June 08, 2011, 07:46:43 AM
I might be wrong but he gives us an url... It seems pretty clear he is talking about the frontend...
Title: Re: Ascending Order and Descending Order - update
Post by: freeSbee on June 08, 2011, 08:30:03 AM
I still do not get the point of this topic.

In the backend stock administration you can order items in various ways and for the shop frontend view it is possible to order the items manually just the way you want.

Regards Christoph
Title: Re: Ascending Order and Descending Order - update
Post by: Bug on June 08, 2011, 07:03:24 PM
I do not think it is that hard too understand what the guy needs...

find attached 3 edited files

- modify_page_setting s.php -> added two radiobuttons ( Ascending / Descending )

- safe_page_settings. php -> added the needed lines to safe the fields

- view_overview.php -> replaced some stuff around line 93

- added a row in the bakery page settings sql ( open phpMyAdmin search the table "bakery page settings" add a row and call it "volgorde"





[gelöscht durch Administrator]
Title: Re: Ascending Order and Descending Order - update
Post by: HeidemanMedia on June 08, 2011, 07:25:35 PM
sorry my english is very bad so i try again...

I would have a radio button in the backend so the customer can change the order for the frondend.
I fixed it now by editing the "modify_overview.php" and change ASC in DESC.

I think it would be great to have the opportunity by preferences to choose ASC order or DESC order for the frondend.

i hope you understand now??...
Title: Re: Ascending Order and Descending Order - update
Post by: HeidemanMedia on June 08, 2011, 07:28:02 PM
sorry i mean view_overview.php in stead of modify_overview.php

and it is only a suggestion for a next version...
Title: Re: Ascending Order and Descending Order - update
Post by: Bug on June 08, 2011, 07:30:57 PM
check the zip, I have done that for you

effe in de zip kijken hierboven.. ik heb dat voor je gedaan...

goed idee, ik heb t toegevoegd aan mijn aangepaste shopmodule

Title: Re: Ascending Order and Descending Order - update
Post by: HeidemanMedia on June 08, 2011, 09:02:15 PM
thanx i"ll test it tomorow