Announcement

Collapse
No announcement yet.

Custom Sort Order for Products in CTGY

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom Sort Order for Products in CTGY

    We are switching over to built in search and faceting in Miva from SearchSpring. We currently use a custom sorting based on a custom field driven by our ERP system. Is there any way to use that in the page builder category listing component? I don't think it's supported.

    Conversely, is there a way to import the display order to replicate the manual sorting functionality in the admin? If that's possible I could import my custom values that way.
    Geoff Manning
    -------------------------
    Miva Sites: Oriental Furniture | Room Dividers

    #2
    gmanning Using a custom field to sort the products within the Product Listing Flex Component will be available in the next update 10.13.03

    As for your other ask, there is no way to adjust the display order of products using an import.
    Nicholas Adkins
    Technical Training Specialist / Miva, Inc.
    [email protected]
    https://www.miva.com/mivalearn

    Comment


      #3
      I can definitely wait for the update. It's not a "must have" currently. Thanks Nick!
      Geoff Manning
      -------------------------
      Miva Sites: Oriental Furniture | Room Dividers

      Comment


        #4
        Originally posted by Nick View Post
        gmanning Using a custom field to sort the products within the Product Listing Flex Component will be available in the next update 10.13.03

        As for your other ask, there is no way to adjust the display order of products using an import.
        Hi Nick,

        See here: https://www.miva.com/forums/forum/on...-field-sort-by

        Is there a way to get the sort to treat the custom field as numeric? It's sorting the values as text.
        Geoff Manning
        -------------------------
        Miva Sites: Oriental Furniture | Room Dividers

        Comment


          #5
          Just off the top of my head: if you pad the numeric values with leading zeroes, so that they are all the same number of digits, then an "alphabetic" sort will put them in numerical order. If these values are going to be displayed to customers, you might want to put some code in the page templates to remove the zeroes. Not the most elegant solution, but it might serve.
          Kent Multer
          Magic Metal Productions
          http://TheMagicM.com
          * Web developer/designer
          * E-commerce and Miva
          * Author, The Official Miva Web Scripting Book -- available on-line:
          http://www.amazon.com/exec/obidos/IS...icmetalproducA

          Comment


            #6
            Originally posted by Kent Multer View Post
            Just off the top of my head: if you pad the numeric values with leading zeroes, so that they are all the same number of digits, then an "alphabetic" sort will put them in numerical order. If these values are going to be displayed to customers, you might want to put some code in the page templates to remove the zeroes. Not the most elegant solution, but it might serve.
            Perfect! Won't be customer facing so I just need to pad the output from my ERP that I use to fill in the custom field.
            Geoff Manning
            -------------------------
            Miva Sites: Oriental Furniture | Room Dividers

            Comment

            Working...
            X