Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • in reply to: Hiding features until login #270099
    tpechacek
    Member
    Post count: 6

    Cool, thanks for confirming!

    in reply to: Hiding features until login #270097
    tpechacek
    Member
    Post count: 6

    Hey, so I resolved #1, it was actually an option within the theme options, no need to do it inside the codebase. Probably what was why it wasn’t updating to begin with.

    For #2. Yes, but it still does the grid view; I am looking for the best method to show a list. Meaning it has like 5 columns: vendor, product name, price, etc. Any ideas / does it come with the theme? Or am I going to just have to update the styles for this. The mini-products nor products in the Swift builder does not have this capability from my understanding.

    in reply to: Hiding features until login #269598
    tpechacek
    Member
    Post count: 6

    Also, what is your best suggestion on showing a list / table view of products? The plugins out there don’t seem very good…I was really hoping not to have to make such drastic changes to the template view files. Thoughts on how to accomplish this?

    Thanks!

    in reply to: Hiding features until login #269571
    tpechacek
    Member
    Post count: 6

    Rui,

    Everything you have helped me with so far as worked, solid support!

    I had another followup question, figured I would just continue this thread, I think we have a good thing going here :).

    Question: I noticed a bunch of options are set in the sf-options.php file, with an array of config values that get passed in around the theme. For example, I am trying to update the Register an Account paragraph text, but when I change this in the sf-options.php it does not re-render on the web page. What am I missing?

    woocommerce/myaccount/form-login.php
    Line 76: <div class="new-user-text"><?php _e($options['checkout_new_account_text'], 'swiftframework'); ?></div>

    swift-framework/sf-options.php

    array(
        							'id' => 'checkout_new_account_text',
        							'type' => 'textarea',
        							'title' => __('New account text', "swiftframework"), 
        							'sub_desc' => __('This text appears in the sign in / sign up area of the checkout process.', "swiftframework"),
        							'desc' => '',
        							'std' => 'Sign up for an account with the Maxwell Health Marketplace by filling in the information below. After clicking Register, your information will be reviewed and you will receive an email when your account has been approved.'
        							),
    Attachments:
    You must be logged in to view attached files.
    in reply to: Hiding features until login #267139
    tpechacek
    Member
    Post count: 6

    For #1: Yes, that is correct;

    For #2; What is the best way to redirect a user to other page is not logged in? Where can I set that in the code / admin panel?

    Also, how do I prevent the auto-login upon registration. I am trying to create an approval process; where a member gets put into a “unapproved” user role, then once approved, gets put into a different role which opens up access. However, the auto-login is preventing this from happening… Thoughts on how best to approach this one?

    in reply to: Hiding features until login #266961
    tpechacek
    Member
    Post count: 6

    Rui, that worked and it seems I just needed time understanding the swift framework layout and how all the functions / params flow through.

    I have another question though, hoping I can just continue the few custom things I have here so I can get the support I need rather than continuously opening new tickets.

    Issue #1: I would like to do the same is_user_logged_in() functionality for the search and cart on the right side of the nav; I can’t seem to find where to put the code in the header.php or sf-page-heading.php. Any suggestions?

    Issue #2: Do you know of a good way to show a different Home Page when the user is logged in vs. not? I am using the WooCommerce My Account page as the .com/ root page, which gives two different views depending on whether the user is logged in. However, I have a less technical person who would like to update the home page to new featured products throughout the year, and would like to allow them to be able to do that in a seperate “Page” that is referenced as the home page if not logged in, then once logged in it would be something else? So “Sample-Page” would be .com/ when not logged in, then once logged in “Home Page” would be the .com/ when logged in? This is more of an implementation decision I am hoping you can help with, any plug-in suggestions, etc. are welcome too.

    Thanks in advance, loving the theme :).

Viewing 6 posts - 1 through 6 (of 6 total)