Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author SkyVerge

    (@skyverge)

    @joris-van-der-horst – Sorry to read you have some problems with displaying these sorting options. I checked you default shop page and the sorting options do appear there as expected (https://cloud.skyver.ge/2J0x29312B1z). Please have a look at the page being used for rendering your Product Search Page results, perhaps the theme author would be able to assist you further with this as well.

    Thanks!

    ~ Cais.

    Thread Starter Joris van der Horst

    (@joris-van-der-horst)

    Hi Cais,

    Thanks for your quick reply.

    However the sorting options on the default shop page you are showing are:

    – NOT the the ‘Sort By’ options needed to be set and show
    – NOT on the same shopping page where need to set the ‘Sort By’ options

    There must be set/show the asked ‘Sort By’ options on this (search) shopping page in my webshop:

    https://www.j-test2.nl/atlantic/product-search-page

    See screenshot:

    https://www.j-dsgn.nl/wp-content/uploads/sort-by-options.jpg

    Note:

    Use this valid postcode in the Postcode Check popup which appear when open above link page:

    2491AA

    Can you explain where and how these ‘Sort By’ options must be set in the WP Admin of the theme please?

    Thanks in advance.

    Regards.

    Joris

    Plugin Author SkyVerge

    (@skyverge)

    @joris-van-der-horst – My apologies for not explaining my screen capture better. I understand you are looking to have those short options (as seen on the “Shop” page) displayed in the drop-down selector of your search page.

    Unfortunately how to do this within your theme would be best asked of your theme’s author/support team.

    Thanks!

    ~ Cais.

    • This reply was modified 7 years, 10 months ago by SkyVerge.
    Plugin Author SkyVerge

    (@skyverge)

    @joris-van-der-horst – Some additional follow up: the page you’re referring to is not generated by WooCommerce. As this is an entirely customized template, to output sorting options here would require the theme author or developer to integrate them into the sorting dropdown, and then duplicate the queries run by WooCommerce to sort the content. Since this page isn’t part of WooCommerce, I’m afraid our plugin may not be of much help here.

    ~ Cais.

    Thread Starter Joris van der Horst

    (@joris-van-der-horst)

    Hi,

    Thank you so much for your quick reply and advise!.

    I’ve figured out by info from the template developers, that indeed it works by a custom template function to set the Sort By options.

    Now I know how to do it, but not know still which option I must chose from the particular Sort By option menu to set the needed ones ??

    I need following Sort By options to show in my website:

    Category
    Name A to Z (alphabetical)
    Name Z to A (alphabetical)
    Price low to high (price shown frontend)
    Price high to low (price shown frontend)
    Price discount (special offer)
    Popularity (most sales)
    Best review (star rating)
    Most reviews (count)

    My WP Template Theme function is offering below Sort By in the option menu to set:

    Date
    Comment
    _sku
    _price
    _regular_price
    _sale_price
    _sale_price_dates_from
    _sale_price_dates_to
    _downloadable
    _virtual
    _stock_status
    _backorders
    _stock
    _manage_stock
    _visibility
    _featured
    _weight
    _length
    _width
    _height
    _edit_last
    _edit_lock
    _product_attributes
    _wc_review_count
    total_sales
    _yoast_wpseo_title
    _yoast_wpseo_metadesc
    _yoast_wpseo_metakeywords
    _yoast_wpseo_focuskw
    _tax_status
    _tax_class
    _min_variation_price
    _max_variation_price
    _default_attributes
    _wc_rating_count
    _wc_average_rating
    _thumbnail_id
    _product_image_gallery
    _purchase_note
    _sold_individually
    _upsell_ids
    _crosssell_ids
    _min_price_variation_id
    _max_price_variation_id
    _min_variation_regular_price
    _max_variation_regular_price
    _min_regular_price_variation_id
    _max_regular_price_variation_id
    _min_variation_sale_price
    _max_variation_sale_price
    _min_sale_price_variation_id
    _max_sale_price_variation_id
    _product_version
    _vc_post_settings
    _price_sku_featured_product_versiontotal_sales

    As you notice there are several Sort By options sort like and I not know the difference exactly so I can chose the needed onesmentioned above.

    For example:

    _regular_price
    _sale_price

    Can you please point me which Sort By options in my Theme I will have to set to achieve the certain needed options mentioned above please?

    Thanks in advance!

    Best Regards,

    Joris

    Plugin Author Beka Rice

    (@bekarice)

    Hey @joris-van-der-horst, most of the sorting options you’ve referenced are from WooCommerce core itself. I’m afraid that the sorting dropdown is not generated by our plugin (we just add our options into the WooCommerce dropdown), and therefore this sort of customization is not something we can help with.

    As such, it would be best to work with your template developers to resolve this issue, as we can’t really know how they’ve implemented that dropdown, and the solution will be related only to your theme and WooCommerce, not to our plugin.

    If they need some background, they can review how WooCommerce adds sorting options here:
    https://github.com/woocommerce/woocommerce/blob/47fbae4d260bfa8e0a6a42aed0d647642adcd646/includes/class-wc-query.php#L425-L484

    Cheers,
    Beka

    • This reply was modified 7 years, 10 months ago by Beka Rice. Reason: Edited for clarity on how our plugin interacts with WooCommerce

    is possible show RANDOM in home/shop page BUT in the CATEGORIES pages show in ALPHABETICAL ORDER? please help!

    Plugin Author SkyVerge

    (@skyverge)

    Hey @estevansoares I’m afraid that enabling two different defaults (one for the shop and one for the category) is not possible with this plugin. Sorry I don’t have better news for you here!

    Also, for a future note, please be sure to add your own support threads in the future; it can be very easy for us to miss additional replies on a resolved thread, so to ensure you always get a reply, please add a new one for different questions. Cheers!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Sort By options don’t show’ is closed to new replies.