Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey did you guys ever figure out why forums were showing up on google search console?

    I’ve never really seen this and have always just been using OceanWP and Elementor Pro and Yoast. This my first-time using Yoast Pro and was wondering what was causing this? is it inside OceanWP that creates forums? lol tbh I didn’t really even think about this but can’t find any topics on forums

    Thread Starter dkydev

    (@dkydev)

    @neilmahaseth

    Hey I was wondering if you could help me out.

    You mentioned that:

    This works for me except for the limitations mentioned by dkydev. Which can be overcome by creating a custom hook using ajax.Hope it helps others.

    And I still can’t figure out how to fix the currency not switching if using Google Autofill. How do you create custom hook ajax

    Thread Starter dkydev

    (@dkydev)

    Thanks

    Thread Starter dkydev

    (@dkydev)

    Hey Support Forum!

    I may have found a solution but it seems to have a few caveats:

    • It doesn’t update by country it only changes with ZIP or State
    • Seems to not work with Google autofill, must be typed in, or adjusted after autofill (I think clicking in the text box works)
    • And I don’t really know what I’m doing just a trial and error ting

    So, I was wondering if you knew if there was a way to clean up the code? and or make it function better. Do you know if anything I wrote would have problems with the plugin and or Woocommerce?

    
    
    #--------------------------------------------------------------------------------
    # 	WOOCS - Default order currency to shipping country
    #	Attempt #7.1
    #-------------------------------------------------------------------------------- 
    
    /*	My attempt at defaulting address to shipping country
    *	1. https://currency-switcher.com/possible-delivery-country-change-currency/
    *	2. https://currency-switcher.com/force-currency-on-checkout-page/
    *	3. https://stackoverflow.com/questions/29378859/woocommerce-get-order-shipping-address-as-separate-fields
    *	4. https://stackoverflow.com/questions/31133501/woocommerce-change-currency-depending-on-billing-country
    *
    *	Result: Seems to work. But doesn't always change with Country seems more connected to ZIP or State?
    *	Update:	Also autofill doesn't seem to create change, must be typed in?
    */
    
    // Need action from #1 as this should update order at checkout page
    add_action('woocommerce_checkout_update_order_review', function($data) {   
        // I'm pretty sure this is to call libraries. And #4 needs the woocommerce library
        global $WOOCS, $woocommerce;
    
        // Checking when you're at the checkout page
        if(is_checkout()){
            global $WOOCS, $woocommerce;
    
            // Hopefully will change when customer changes shipping country
            if($woocommerce->customer->get_shipping_country() == 'CA'){
            	// Force currency change from #2
            	$WOOCS->set_currency('CAD');
        	}
        	else{
        		$WOOCS->set_currency('USD');
        	}
    	}
    });
    • This reply was modified 5 years, 4 months ago by dkydev.
    Thread Starter dkydev

    (@dkydev)

    Hi RealMag777!

    Thanks for the reply, ya I’ll give that a try I’ve been tweaking the code but to no avail. it keeps reverting to what shipping country you input first (ie. <GeoIP country set> or <if I allow you to choose a country from cart page>) the checkout currency will not change dependent of the shipping country selected.

    View post on imgur.com

    Thread Starter dkydev

    (@dkydev)

    Thanks so much Amit! I did what you said and created a template with the Ocean Extra Plugin!

    You’re the best! ??

    Thread Starter dkydev

    (@dkydev)

    My apologies, can you please guide me how to do that? I wasn’t able to find the way to create a custom topbar

    Thread Starter dkydev

    (@dkydev)

    Hey Amit!

    So currently I have put an image menu plugin and used a blank PNG to create a spacer as a temporary solution.

    The site to look at is https://topleftmediaclient.cimatec.com/

    Thread Starter dkydev

    (@dkydev)

    Awesome thanks so much SmallFishes I’ll definitely give that a go! Appreciate all the support and the detailed response

    In case you guys were still tryna figure it out I just tossed this into the css customizer.

    
    .oceanwp-cart-sidebar{
    	display:none !important
    }
    
    • This reply was modified 6 years, 4 months ago by dkydev.
    Thread Starter dkydev

    (@dkydev)

    ————
    SOLVED: Plus More Solutions Included
    ————

    — The Intro —
    For the life of me, I couldn’t understand why they wouldn’t include custom image sizes https://i.imgur.com/lLIaBGT.jpg. So I went into the CSS and did it all through there (Not good coding practice but it works). After a while, I just decided to scrap the plugin but came back to it because through all the other options this one still looks the best. So for anyone else in a similar situation and want to get rid of somethings or figure stuff out. Without having to bug the devs to respond to you here are some things I figured out.

    ————
    ↓ CSS Code Below ↓
    ————

    — Custom sizing is there. —
    Just update your plugin (I know it sounds stupid but for some reason, after i did it, it just showed up for me)

    View post on imgur.com

    — Button Shape —

    /* ↓ CODE HERE ↓
    *Gets rid of the button border and underlines on hover
    */
    .oceanwp-post-list.one .readmore {
    border-radius: 0px;
    border: none;
    padding: 0px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    }
    .oceanwp-post-list.one .readmore:hover {
    background-color: transparent !important;
    border-bottom: 2px solid;
    color: #FFFFFF !important;
    }

    — Author and Lines —

    /* ↓ CODE HERE ↓
    * Gets rid of the category, lines and the author/date
    */
    .oceanwp-post-list.one .oceanwp-post-category {
    display: none;
    }
    .oceanwp-post-list.one .line {
    display: none;
    }
    .oceanwp-post-list.one .oceanwp-post-date {
    display: none;
    margin: 0px;
    }

    — Mobile Friendly —
    /* ↓ CODE HERE ↓
    * Shrinks Title Text (found in these forums)
    */
    @media only screen and (max-width: 959px) {
    .oceanwp-post-list.one h2 {
    font-size: 25px !important;
    }

    — Nav Arrow Buttons —
    /* ↓ CODE HERE ↓
    * Switch up the colors and gets rid of the circle ting
    */
    .oceanwp-post-list.one .slick-arrow {
    border: none !important;
    }
    .oceanwp-post-list.one .slick-arrow:hover {
    border: none !important;
    background-color: transparent;
    color: #FFFFFF !important;
    }

    Good luck errrbody ??

Viewing 11 replies - 1 through 11 (of 11 total)