Trouble with setting up pages inside Marketpress

I have a customer who has 3 main general navigational menu items and a lot of sub-menu items (styles) so I created a site that has the three generals as the main nav menus then divided the subs into sub-menus (see http://sunsetsunglasses.com/new). Everything works except I can't figure out how to populate the main menu pages with proper content. I thought about using shortcodes but can't find info about how to create the shortcode with only the info for that menu item (I do not know php/css so the attributes explanations are above my head).

Could someone look at this site and tell me how to easily populate the "general categories", "authentic sunglasses" and "designer inspired" pages with either a dropdown that contains only the associated products or some other solution - other than doing hem one by one?

  • Jack Kitterhing
    • Code Norris

    Hi there @perrydyse,

    Hope you're well today and thanks for your question.

    I'd be happy to give you the correct shortcodes :slight_smile:

    Just to check, each page should only have the products from that category, are the categories, the same as the page names? :slight_smile:

    Thank you!

    Kind Regards
    Jack

  • perrydyse
    • Design Lord, Child of Thor

    No, the categories are the sub-menus and that's my problem. For instance, the main menu item called "designer inspired" there are 57 sub-menu items that are product categories (i.e Oakley inspired, RayBan inspired, etc.).

    The pages that are sub-items populate fine because i used the shortcode for the specific category for each page.

    I thought of a possible way to display these 3 main menu pages but I don't think it's the best way. I think I could place each menu name in a product tag then use a shortcode for product

    [mp_list_products paginate="true" page="1" per_page="10" order_by="price" order="DESC" tag="designer-insprired"]

    I would prefer to have a dropdown that would only show the associated products. Is there a way to do that?

  • Jack Kitterhing
    • Code Norris

    Hi there @perrydyse,

    Hope you're well today, the current way to do this would be with the shortcode based list without the dropdown.

    Though I've notified the lead developer for his valuable input here to see if there is a workaround for the dropdowns.

    Thanks for your patience here :slight_smile:

    Kind Regards
    Jack.

  • perrydyse
    • Design Lord, Child of Thor

    Would it make more sense if I made a category for the top 3 menu item names then make all of the sub menu items sub-categories? Right now I just have all of the products as main categories.

    For instance, if I created a category called "general" then placed "Aviators", "Men's", "Women's", "Goggles", etc. under the parent (general), would that solve a problem that I may have created for myself?

    Then, if there's a way to segregate a specific category (and subs) into the dropdown shortcode, it would work. Is that possible to do?

  • perrydyse
    • Design Lord, Child of Thor

    Is there another way for me to get support for this? I can't wait 20 hours between questions and answers each time because my customer needs this site functional. I only have until this weekend to have it completed. If there's a quicker way, please let me know.

  • Jack Kitterhing
    • Code Norris

    Hi there @perrydyse,

    Sorry about delay, but due to time differences I was awaiting to speak with the lead developer :slight_smile:

    For instance, if I created a category called "general" then placed "Aviators", "Men's", "Women's", "Goggles", etc. under the parent (general), would that solve a problem that I may have created for myself?

    That would work as you'd need, but then the

    Then, if there's a way to segregate a specific category (and subs) into the dropdown shortcode, it would work. Is that possible to do?

    Could you clarify on that please? The best way to do this would be to create the categories (top level, parent categories), then the child categories.

    You can then create a custom menu with the parent and child categories links, then each category will only show the items in that category, which is what I believe you require?

    Thanks!

    Kind Regards
    Jack.

  • perrydyse
    • Design Lord, Child of Thor

    It's the custom dropdown shortcode that I don't understand how to create. If I made a category called "general" with noting in it then mmoved all of the "general" products to child categories, I could use the dropdown shortcode [mp_dropdown_categories] if I knew how to add attributes to it so that it only shows these specific child categories. Then, I could use the shortcode for the other two (main} categories that I would build (authentics and inspired). I would move their respective product categories to child categories and do the same thing.

    My question now is, How do I build this shortcode so that it does what I need it to do?

  • Jonathan
    • The Bug Hunter

    Hi @perrydyse,

    You can set like so

    [mp_dropdown_categories child_of="ID"]

    where ID equals the id of your general category and so forth. Unfortunately, there's no automatic way of setting that ID unless you are familiar with PHP and editing code.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.