Shopify- Reoder collection array

15 views
Skip to first unread message

Daynthan Kabilan

unread,
Jul 6, 2015, 6:05:02 AM7/6/15
to rubyonra...@googlegroups.com
Hi guys,

I have working on shopify liquid. I need to show the sold out products in last page (in last page of the pagination).

example.
If i have 10 soldout products in my collection array. This items should show the last page of the pagination.

Thanks for advance.

Daya

Hassan Schroeder

unread,
Jul 6, 2015, 8:02:25 AM7/6/15
to rubyonrails-talk
On Mon, Jul 6, 2015 at 3:04 AM, Daynthan Kabilan <dayan...@gmail.com> wrote:

> If i have 10 soldout products in my collection array. This items should show
> the last page of the pagination.

Is there a question there? What are you having trouble with? What
have you tried?

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Consulting Availability : Silicon Valley or remote

Daynthan Kabilan

unread,
Jul 6, 2015, 9:16:06 AM7/6/15
to rubyonra...@googlegroups.com
I have 200 products in collection page. Each page have different number of sold out products showing in different places.

I can able to show the sold out products in each page bottom row.

But i should show the sold out products in last page only on the collection list.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yBVZvXVMyCHqqXpKccB31bfiEXFqDz7_mWnposV8h5yzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hassan Schroeder

unread,
Jul 6, 2015, 9:25:20 AM7/6/15
to rubyonrails-talk
On Mon, Jul 6, 2015 at 6:15 AM, Daynthan Kabilan <dayan...@gmail.com> wrote:

> But i should show the sold out products in last page only on the collection
> list.

I understood the goal the first time. To repeat:

Elizabeth McGurty

unread,
Jul 6, 2015, 2:53:18 PM7/6/15
to rubyonra...@googlegroups.com
I looked briefly at the shopify liquid API.  Seems to me that in your pagination, in the record event of soldout, that you need to code differently.  Please share your code.
Liz. 

Reply all
Reply to author
Forward
0 new messages