Show specific stores in Popular Stores box?

WordPress Business Themes Forums Responsive Themes Coupon Theme Show specific stores in Popular Stores box?

Show specific stores in Popular Stores box?

July 16, 2018
Matthew Matthew
  • Matthew
    Matthew
    Senior Member 217 points

    Can I get the Popular Stores box to display specific stores?

    Is there a query string I can use to display specific store ID’s?

    July 16, 2018 at 8:26 pm
  • JamesD
    JamesD
    Super Guru 917 points

    Hello Matthew,

    Can I get the Popular Stores box to display specific stores?

    Yes, however would require file customizations and may need multiple solutions depending on where exactly you’re trying to display it.

    Is there a query string I can use to display specific store ID’s?

    Are you manually making a query where you actually need the query parameter to add to the query? The parameter name is include and the value would be a string of the store ID’s separated by commas.
    For example: include=43,64,88,72
    The “43,64,88,72” would be the store ID”s that should be displayed.

    Or is this related to the first question? (if so, see first my response.)

    July 21, 2018 at 2:31 am
  • JamesD
    JamesD
    Super Guru 917 points

    @Matthew

    Here’s a quick fix to add a store widget (in the coupon theme) and customize the display some.

    You can try this…
    Unzip the file, upload the ‘elementor_addons’ folder to your child theme directory and update your ‘_functions.php’ file (review the included ‘_functions.php’).

    This is the core gist to accomplish what you want, but you may have to do some re-styling and/or design the html to fit with your site. I’ve only tested this on the v9.1.7 coupon theme.

    This will add a ‘Cphix Store Widget’ under the ‘PremiumPress Addons’ section when editing a page in elementor.

    Attachments:
    You must be logged in to view attached files.
    July 23, 2018 at 4:37 am
  • JamesD
    JamesD
    Super Guru 917 points

    Note: After adding the widget, be sure to click ‘Update’ and reload the elementor edit page (bug)
    This will give you an idea of it:

    July 23, 2018 at 5:32 am
  • JamesD
    JamesD
    Super Guru 917 points

    Here’s an update of the widget. It fixes the need to refresh after initially dropping widget on page.

    Attachments:
    You must be logged in to view attached files.
    July 23, 2018 at 9:41 pm
Viewing 5 posts - 1 through 5 (of 5 total)

Didn't find what you were after?

Chat with us now

or contact our support team