Unfortunately due to other commitments, we are no longer able to provide support for these themes.

All our themes are now free and can be downloaded by anyone to use/modify however they wish.

We want to thank all our users for their support over the years. All the best in 2020 and beyond.

product-last issue

nathannathan Lifetime Member
Hi guys,

Working on this website that used to be the original clip cart, but now changing to the new clip cart. There are some issues with the product-last class where it is assigned but they are not the last on the page.

For example if you go to shop - black tea: the JusTea African Black has product-last assigned and the problem is I am trying to have a border under all teas except the last one which would work great if the last one was assigned correctly. Same on earl grey - Fancy Schmancy Earl – organic as well as a few others. It seems to be every third tea.

Wondering if you can help me with this please.

Thanks,
Nathan

Comments

  • Options
    nathannathan Lifetime Member
    sorry site is here: http://www.thaytea.com/wp-2017/
  • Options
    Mark_HodderMark_Hodder Administrator, Lifetime Member
    Unfortunately I don't see any easy way to do that - last isn't actually referring to last on the page - it's based on a traditional column layout - which it would be last in the row, not page.

    While you could change it to say "last" every 9 items which would be the last items on page 1 and 2 of the black tea products - it then wouldn't work for page 3, since it only has 2 items.

    Having the border on all products is the only consistent solution without getting into heavier custom code (assuming it's even possible to do at all).
    Need Additional Help?
    - Check out the Resource Center for helpful tutorials and hints.


    image
This discussion has been closed.