Woo checkout: Change arrow on paypal payment option description to point down
authorLaury GvR <laury@gaslightmedia.com>
Wed, 1 May 2019 20:58:29 +0000 (16:58 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 1 May 2019 20:58:29 +0000 (16:58 -0400)
css/app.css
functions.php
glm-member-db/views/front/members/detail.html
scss/plugins/_woocommerce.scss

index 1b10b1e..f43ec08 100644 (file)
@@ -7976,7 +7976,7 @@ h3#ship-to-different-address {
     text-align: center; }
   #glm-member-detail-container #glm-member-detail-related-products {
     float: left;
-    margin-top: 10px; }
+    margin-top: 20px; }
     #glm-member-detail-container #glm-member-detail-related-products h4 {
       color: #494139;
       font-family: arial;
index 91dca8d..1142274 100644 (file)
@@ -302,6 +302,7 @@ add_filter('glm-get-trail-links', function($member_id) {
                 if ( $category->slug == 'downloads' ) {
                     // Echo shortcode
                     echo do_shortcode('[add_to_cart id="'.$product->ID.'" style="" show_price="false"]');
+                    echo '<span id="woo-map-disclaimer">(This map is not geo-referenced)</span>';
                     // An add-to-cart link can also be manually constructed in this way:
                     //echo '<a class="glm-member-detail-woo-link" href="'. $current_url .'?add-to-cart='.$mypost->ID.'">';
                 } else {
index 9804387..9dc4aea 100644 (file)
 
                 {/if}
             </div>
-
+      {if apply_filters('glm_custom_fields', 'avenza_map_url', $member.memberInfoId)}
             <div id="glm-member-detail-avenza-section-bottom" class="glma-show-for-large-up">
                 <img src="{$siteBaseUrl}/wp-content/themes/michigantrailmaps/assets/avenza-icon.png" alt="Avenza Maps">
                 <br>Geo-referenced maps from MichiganTrailMaps.com are available through Avenza Maps and range from $1.99 to $2.99 each.
                     </a> 
                 </p>
             </div>
+      {/if}
         </div>
 
 
index 2997c4f..1292e31 100644 (file)
@@ -1190,7 +1190,7 @@ h3#ship-to-different-address {
     }
     #glm-member-detail-related-products {
         float: left;
-        margin-top: 10px;
+        margin-top: 20px;
         h4 {
             color: $dark-brown;
             font-family: arial;