Plugin Directory

Changeset 3177194


Ignore:
Timestamp:
10/28/2024 02:41:31 PM (15 months ago)
Author:
gothamdev
Message:

Ready for 6.7 version
Fix Minor Bug

Location:
gothamazon/trunk
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • gothamazon/trunk/gotham_boutique.php

    r3080977 r3177194  
    3939    global $use_rating;
    4040    global $use_prixbarre;
    41     global $use_amaprime;
    4241    global $gothamazon_option_marchandlogo;
    4342    global $hidetitre;
     
    4847    global $gtz_linquery_default;
    4948    global $gtz_awin_ref_id;
    50 
     49    global $gothamazon_option_amaprime;
    5150   
    5251    if ($amp != true) {
     
    506505            }
    507506           
     507            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 
     508            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\"";
     509           
    508510            $payload.=" ],";
    509511            $payload.=" \"Availability\": \"Available\",";
     
    630632               
    631633            }
     634           
     635            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 
     636            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\"";
    632637           
    633638            $payload.=" ],";
     
    914919            }
    915920   
    916             if (($kel_api_utiliser == "lafayette") OR ($kel_api_utiliser == "global_tech")) {
     921            if ($kel_api_utiliser == "global_tech") {
    917922           
    918923                $image = isset($item['Images']['Thumb']['URL']) ? $item['Images']['Thumb']['URL'] : NULL;
     
    11371142            $show_merchand_logo = true;
    11381143            $show_merchand_name = false;
     1144           
     1145           
     1146            $gestiondeprime = "";
     1147            $eligibleprime = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible'] ? true : NULL;
     1148            $eligiblefreeship = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible'] ? true : NULL;
     1149           
     1150            if ($eligibleprime && $gothamazon_option_amaprime == "oui" && $gtz_tokyo4 != "oui" && $kel_api_utiliser == "amazon") {
     1151                $urldulogoprime = "$plugins_url/gothamazon/img/prime.png";
     1152                $gestiondeprime = "<span class='elprime'><img src='$urldulogoprime' alt='Livraison Prime' class='prime' width='80' height='33'></span>";
     1153            }
     1154           
     1155            if ($eligiblefreeship && $gothamazon_option_amaprime == "oui" && $gtz_tokyo4 != "oui" && $kel_api_utiliser == "amazon") {
     1156                $gestiondeprime .= "<span class='elfreeshpping'>Livraison Gratuite</span>";
     1157            }
     1158           
     1159            $output .= $gestiondeprime;
    11391160           
    11401161            if ((BEERUS == "godmod") OR ($legalytext == "oui")) {
     
    14431464file_put_contents($bug_log_file_chem, "GTZ Boutique");
    14441465
    1445 
    1446 
    14471466return $output;
    14481467
  • gothamazon/trunk/gotham_spotlight_asin.php

    r3080977 r3177194  
    3131    global $use_rating;
    3232    global $use_prixbarre;
    33     global $use_amaprime;
    3433    global $hidetitre;
    3534    global $gtz_tokyo4;
    3635    global $parachutemodeegta;
     36    global $gothamazon_option_amaprime;
    3737   
    3838    if ($amp != true) {
     
    119119    if ($titremano != '') {$kapsutitre='o';} else {$kapsutitre='n';}
    120120    if ($descriptionmano != '') {$kapsudesc='o';} else {$kapsudesc='n';}
    121     if ($use_amaprime == "oui") {$skraprime = 'o';} else {$skraprime = 'n';}
     121    if ($gothamazon_option_amaprime == "oui") {$skraprime = 'o';} else {$skraprime = 'n';}
    122122    if ($force1pic == 'oui') {$tsec='o';} elseif ($force1pic == 'non') {$tsec='n';} else {$tsec='n';$force1pic='non';}
    123123    //////////////////////////////////////////////////////////////////////////////
     
    206206            $payload.=",  \"ItemInfo.Title\"";
    207207        }
    208         if ($use_amaprime == "oui") {
    209             $payload.=",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\"";
    210         }
     208       
    211209        // if ($boodisplayprice == 'oui') { Provoque un Bug Inexpliqué
    212210            $payload.=",  \"Offers.Listings.Price\"";
     
    215213
    216214        //}
     215       
     216        $payload .= ",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 
     217        $payload .= ",  \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\"";
     218           
    217219        $payload.=" ],";
    218220        $payload.=" \"PartnerTag\": \"$amazontrackingcode\",";
     
    479481            // Amazon Prime
    480482            $logoduprime = "";
    481             if (($use_amaprime == "oui") AND ($gtz_tokyo4 != "oui")) {
    482                
     483           
     484            if (($gothamazon_option_amaprime == "oui") AND ($gtz_tokyo4 != "oui")) {
     485                   
    483486                $urldulogoprime = "$plugins_url/gothamazon/img/prime.png";
    484                 $amaprime = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible']) ? $item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible'] : NULL;
    485 
    486                 if ((!is_null($amaprime)) AND ($amaprime != false)) {
    487                    
    488                     $logoduprime ="<span class='elprime'><$imgtag_resp src='$urldulogoprime' alt='Livraison Prime' class='prime' width='200' height='84'>$imgtag_close</span>";
    489                    
    490                 } else {
    491                    
    492                     $logoduprime = "";
    493                    
    494                 }
    495                
     487               
     488                $eligibleprime = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible'] ? true : NULL;
     489                $eligiblefreeship = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible'] ? true : NULL;
     490               
     491                if ($eligibleprime) {
     492                    $urldulogoprime = "$plugins_url/gothamazon/img/prime.png";
     493                    $logoduprime .="<span class='elprime'><$imgtag_resp src='$urldulogoprime' alt='Livraison Prime' class='prime' width='200' height='84'>$imgtag_close</span>";
     494                }
     495               
     496                if ($eligiblefreeship) {
     497                    $logoduprime .= "<span class='elfreeshppingspotlight'>Livraison Gratuite</span>";
     498                }
     499               
     500                $output .= $gestiondeprime;
     501                   
    496502            }
    497503               
     
    703709               
    704710            }
    705            
     711   
     712            $output .= $gestiondeprime;
    706713            $output.="<span class='storeitemcta $cuzhprice_css'><span class='eyecandy'><span>(+) d'infos</span>";
    707714           
  • gothamazon/trunk/gotham_spotlight_keyword.php

    r3080977 r3177194  
    3535    global $use_rating;
    3636    global $use_prixbarre;
    37     global $use_amaprime;
    3837    global $gothamazon_option_marchandlogo;
    3938    global $parachutemodeegta;
     
    4241    global $gtz_linquery_default;
    4342    global $gtz_awin_ref_id;
     43    global $gothamazon_option_amaprime;
    4444   
    4545    if ($amp != true) {
     
    220220    if ($descriptionmano != '') {$kapsudesc='o';} else {$kapsudesc='n';}
    221221   
    222     $use_amaprime = (isset($use_amaprime)) ? $use_amaprime : '';
    223     if ($use_amaprime == "oui") {$skraprime = 'o';} else {$skraprime = 'n';}
     222    $gothamazon_option_amaprime = (isset($gothamazon_option_amaprime)) ? $gothamazon_option_amaprime : '';
     223    if ($gothamazon_option_amaprime == "oui") {$skraprime = 'o';} else {$skraprime = 'n';}
    224224   
    225225    $force1pic = (isset($force1pic)) ? $force1pic : '';
     
    408408                $payload.=",  \"ItemInfo.Title\"";
    409409            }
    410             if ($use_amaprime == "oui") {
    411                 $payload.=",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\"";
    412             }
     410           
    413411            if ($boodisplayprice == 'oui') {
    414412                $payload.=",  \"Offers.Listings.Price\"";
     
    418416                }
    419417            }
     418           
     419            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 
     420            $payload .= ",  \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\"";
     421       
    420422            $payload.=" ],";
    421423            $payload.=" \"Availability\": \"Available\",";
     
    765767            // Amazon Prime
    766768            $logoduprime = "";
    767             if (($use_amaprime == "oui") AND ($gtz_tokyo4 != "oui") AND ($kel_api_utiliser == "amazon")) {
    768                    
     769           
     770            if (($gothamazon_option_amaprime == "oui") AND ($gtz_tokyo4 != "oui") AND ($kel_api_utiliser == "amazon")) {
     771                   
     772                $urldulogoprime = "$plugins_url/gothamazon/img/prime.png";
     773               
     774                $eligibleprime = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible'] ? true : NULL;
     775                $eligiblefreeship = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible']) && $item['Offers']['Listings'][0]['DeliveryInfo']['IsFreeShippingEligible'] ? true : NULL;
     776               
     777                if ($eligibleprime) {
    769778                    $urldulogoprime = "$plugins_url/gothamazon/img/prime.png";
    770                     $amaprime = isset($item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible']) ? $item['Offers']['Listings'][0]['DeliveryInfo']['IsPrimeEligible'] : NULL;
    771 
    772                     if ((!is_null($amaprime)) AND ($amaprime != false)) {
    773                        
    774                         $logoduprime ="<span class='elprime'><$imgtag_resp src='$urldulogoprime' alt='Livraison Prime' class='prime' width='200' height='84'>$imgtag_close</span>";
    775                        
    776                     } else {
    777                        
    778                         $logoduprime = "";
    779                        
    780                     }
     779                    $logoduprime .="<span class='elprime'><$imgtag_resp src='$urldulogoprime' alt='Livraison Prime' class='prime' width='200' height='84'>$imgtag_close</span>";
     780                }
     781               
     782                if ($eligiblefreeship) {
     783                    $logoduprime .= "<span class='elfreeshppingspotlight'>Livraison Gratuite</span>";
     784                }
     785               
     786                $output .= $gestiondeprime;
    781787                   
    782788            }
  • gothamazon/trunk/gothamzone.php

    r3112192 r3177194  
    44 * Plugin URI:        https://gothamazon.com
    55 * Description:       Parse Amazon Product Advertising API Feed in 30 seconds
    6  * Version:           3.2.8
     6 * Version:           3.2.9
    77 * Requires PHP:      7.4
    88 * Author:            Kapsule Network
     
    7777    $amazontrackingcode = get_option('gothamazon_ama_track');
    7878    $amazontrackingcode_ghost = $amazontrackingcode; // Ancrage pour gérer le multi user
    79 
     79    $gothamazon_option_amaprime = get_option('gothamazon_option_amaprime');
     80   
    8081    $cachingtime = get_option('gothamazon_option_cachingtime');
    8182    if ($cachingtime == 86400) {$cachingtime_txt="24h";} // 24 H par défaut
     
    156157    $use_prixbarre = get_option('gothamazon_option_prixbarre');
    157158    if ($use_prixbarre == "") {$use_prixbarre = "oui";}
    158 
    159     $use_amaprime = get_option('gothamazon_option_amaprime');
    160     if ($use_amaprime == "") {$use_amaprime = "oui";}
    161159
    162160    $use_rating = get_option('gothamazon_option_rating');
     
    605603                   
    606604                    .pixanchor .gtz-tooltip {position:relative;padding: 5px 10px;}
    607 
     605                   
     606                    .elfreeshpping{font-size: 10px;text-transform: uppercase;font-weight: bold;padding: 10px 0;display: block;background: yellow;  color: red;}
     607                    .elfreeshppingspotlight{font-size: 12px;text-transform: uppercase;font-weight: bold;padding: 10px 20px 10px 0;display: block;background: yellow;  color: red;text-align:right;}
    608608                    @media only screen and (max-width:1024px) {
    609609                        ul.smartstore li {
     
    13441344                @media screen and (max-width: 767px) {.ssj24-carousel-arrow{top:16%;}.ssj24-carousel-arrow img {width: 40px;}}
    13451345                .small_sous_cta{font-size: 10px;font-family: arial; position:absolute;bottom: -15px; right: 0;background: white;border: 1px solid;padding: 1px 5px;opacity: 0.8;border-radius: 3px;}.relative_ssj4slider{position:relative!important;}
    1346    
     1346               
     1347               
    13471348                ';
    13481349
     
    19651966                <td class="libelle<?php if ((BEERUS != "premium") AND (BEERUS != "godmod")) { echo " restricted2premium"; } ?>"><label for="gothamazon_option_amaprime"><dfn data-info="Affichera le logo PRIME si produit éligible. Peut être déclencheur d'achat mais révèle indirectement à l'internaute qu'il va terminer sur Amazon">🚀 Affichage du logo Prime</dfn></label></td>
    19661967                  <td>
    1967                     <?php $gothamazon_option_amaprime = get_option('gothamazon_option_amaprime'); ?>
    19681968                    <select id="gothamazon_option_amaprime" name="gothamazon_option_amaprime" value="<?php echo get_option('gothamazon_option_amaprime'); ?>" <?php if ((BEERUS != "premium") AND (BEERUS != "godmod")) { echo "disabled"; } ?>>
    19691969                        <option value="oui" <?php selected( $gothamazon_option_amaprime, 'oui' ); ?>><?php echo $txt_adwin_yes; ?> ️✔️</option>
     
    20772077                        <option value="boulanger" <?php selected( $gtz_tokyo4_3bay, 'boulanger' ); ?>>Boulanger</option>
    20782078                        <option value="cdiscount" <?php selected( $gtz_tokyo4_3bay, 'cdiscount' ); ?>>Cdiscount</option>
    2079                         <option value="deguisetoi" <?php selected( $gtz_tokyo4_3bay, 'deguisetoi' ); ?>>Deguisetoi</option>
     2079                        <option value="cdiscount" <?php selected( $gtz_tokyo4_3bay, 'certideal' ); ?>>Certideal</option>
    20802080                        <option value="ebay" <?php selected( $gtz_tokyo4_3bay, 'ebay' ); ?>>eBay</option>
    20812081                        <option value="fnacbook" <?php selected( $gtz_tokyo4_3bay, 'fnacbook' ); ?>>Fnac (Livres)</option>
    2082                         <option value="lego" <?php selected( $gtz_tokyo4_3bay, 'lego' ); ?>>LEGO</option>
    2083                         <option value="manomano" <?php selected( $gtz_tokyo4_3bay, 'manomano' ); ?>>Manomano</option>
     2082                        <option value="manomano" <?php selected( $gtz_tokyo4_3bay, 'manomano' ); ?>>Mano Mano</option>
     2083                        <option value="monbento" <?php selected( $gtz_tokyo4_3bay, 'monbento' ); ?>>MonBento</option>
    20842084                        <option value="wegoboard" <?php selected( $gtz_tokyo4_3bay, 'wegoboard' ); ?>>Wegoboard</option>
    20852085                        <option value="global_pets" <?php selected( $gtz_tokyo4_3bay, 'global_pets' ); ?>>⭐ Animaux</option>
    20862086                        <option value="global_beaute" <?php selected( $gtz_tokyo4_3bay, 'global_beaute' ); ?>>⭐ Beauté</option>
    2087                         <option value="global_bebe" <?php selected( $gtz_tokyo4_3bay, 'global_bebe' ); ?>>⭐ Bébé & Maternité</option>
    20882087                        <option value="global_bijoux" <?php selected( $gtz_tokyo4_3bay, 'global_bijoux' ); ?>>⭐ Bijoux & Montres</option>
    20892088                        <option value="global_gift" <?php selected( $gtz_tokyo4_3bay, 'global_gift' ); ?>>⭐ Cadeaux Originaux</option>
     
    21512150                $imgducsshey = "$plugins_url/gothamazon/img/";
    21522151                ?>
    2153                 <td colspan="2"><textarea style="width:100%;height:400px;">/* Gothamazon AMP CSS Version 1.0 */ ul.smartstore{background:#fff;list-style:none;font-family:arial;font-size:13px;border:1px solid #eee;padding: 16px;border-radius:4px;margin:20px 0;display:inline-block;}ul.smartstore a .blob,ul.smartstore a .storeitemtitle{text-decoration:none}ul.izishop92 li{margin:3px 1%;margin-top:3px;list-style:none;padding:0;width:48%;border-radius:3px;display:inline-block}ul.smartstore .gothamrate{margin:5px 0 0;float:none;display:inline-block;width:100px;padding:0}ul.izishop92 .gothamrate{text-align:center;width:100%}ul.smartstore li .ficheproduit span.storeitemfoo{display:block;background:#e9fbeb;width:100%;float:left;border-radius:4px;padding:5px 0;text-align:center}ul.izishop92 li .ficheproduit span.storeitemprice{display:inline-block;color:#fff;font-weight:700;font-size:20px;width:100%;padding:5px 0;border-radius:8px;background:<?php echo $gothamazon_option_color_price_bg; ?>;font-style:italic;text-align:center;margin-bottom:5px}ul.smartstoresidebar li .ficheproduit span.storeitemprice strike, ul.smartstore li .ficheproduit span.storeitemprice strike{color:<?php echo $gothamazon_option_color_price_bg; ?>;background:#fff;white-space:nowrap;float:left;text-align:center;width:100%;font-size:14px}ul.smartstore li .ficheproduit span.storeitemcta{text-align:center;color:#fff;width:80%;border-radius:3px;float:none;margin:2% auto;font-weight:700;padding:4px;display:block;background:<?php echo $gothamazon_option_color_cta; ?>}ul.smartstorespotlight li .ficheproduit span.storeitemcta{font-size:26px}.blob{font-size:12px;text-align:center;display:block;margin:20px 0;color:#000}.elprime{width:90px;display:inline-block;float:right}ul.smartstore li .ficheproduit .vaiamage span{float:left;margin:0;border:1px solid #eee;object-fit:cover;width:32.5%;max-height:100px}.smartstorespotlight .storeitemtitle{font-size:12px;text-align:center;font-weight:700;display:block;clear:both;margin:20px 0;float:left;width:100%}.izishop92 .storeitemtitle{font-size:12px;text-align:center;font-weight:700;text-decoration:none;display:block;clear:both;height:20px;line-height:20px;overflow:hidden}.smartstorelegal{font-size:11px;text-align:center;font-family:arial;line-height:12px;}.pricepromo{font-size:160%;font-family:arial;background-color:<?php echo $gothamazon_option_color_price_bg; ?>;color:#fff;transform:rotate(-1deg);width:100%;display:block;font-style:italic;font-weight:1000;padding:5px 0;text-align:center}.uaresmart{background:#226ab5;color:#fff;display:inline-block;width:100%;padding:3px 0;border-radius:4px;text-align:center}.uaresmart strong,.uaresmart u{color:#fff}ul.smartstorespotlight .bleft,ul.smartstorespotlight .bright{display:block} ul.smartstore li a.ficheproduit.kamesen span.imgkra amp-img{height:160px;display:block;overflow:hidden;}ul.smartstore li a.ficheproduit.kamesen span.imgkra amp-img img{height:160px;overflow:hidden;object-fit:contain}ul.goth_indexboutique{list-style:none;padding:0;margin:0;display:inline-block;width:100%}ul.goth_indexboutique li{list-style:none;width:48%;padding:1%;margin:.5%;display:inline-flex;background:#fff;text-align:center;border-radius:3px}ul.goth_indexboutique li a{width:100%}ul.goth_indexboutique li a amp-img{width:100%;object-fit:contain;height:150px;padding:15px;overflow:hidden}ul.goth_indexboutique li a amp-img img{height:150px;overflow:hidden;object-fit:contain}ul.goth_indexboutique li a span{background:#fff;display:block;color:#000;text-align:center;text-transform:uppercase;font-weight:700;margin:0 auto;width:100%;padding:0 10px}.gtz_amacompliant{background:#181818; color:#eee;text-align:center;padding:5px;font-size:12px;}.gtz_amz {display:block;float:none;text-align:right;}.izishop92 .gtz_amz {text-align:center;}.gtz_amz img {width:auto;max-width:100%;display:initial;}.ama_itxtlink::before{background:url("<?php echo $imgducsshey; ?>ama_icon.png") no-repeat left center transparent;position:relative;z-index:100000;left:0;top:0;background-size:100% 100%;line-height:12px;width:12px;height:12px;display:inline-block;margin-right:2px;margin-left:2px;content:"\0000a0";opacity:0.8;}.ssjinstinct ul {display: flex;overflow-x: scroll;border-radius:0;scroll-snap-type: x mandatory;}.ssjinstinct ul li { flex-grow: 1;flex-shrink: 0;flex-basis: 230px;}.ssjinstinct ul li.samba {width: 100%;margin:0 5px;background: transparent;  padding: 0;border-radius: 8px;}.ssjinstinct ul li.jonlok {width: 100%;padding: 0;margin: 0;}.ssjinstinct ul li .bim_blokprod {border-radius:0;} .ssjinstinct ul::-webkit-scrollbar {height: 26px;background-color: #181818;}.ssjinstinct ul::-webkit-scrollbar-thumb {background-color: #ff5a5f;border-top: 4px solid#181818; border-bottom: 4px solid #181818;}@media only screen and (max-width:1024px) {.gtz_amz {text-align:center;}}.newrules24 {position:absolute;top:24px;left:2px;width: auto;}ul.smartstore li {position:relative;}.gtz-info-icon {position: relative;cursor: pointer;}.gtz-info-icon:hover .gtz-tooltip,.gtz-info-icon:focus .gtz-tooltip {visibility: visible;opacity: 1;}.gtz-tooltip {   visibility: hidden;width: 120px; background-color: black;color: white;text-align: center;padding: 5px 0;border-radius: 6px;position: absolute;z-index: 1;bottom: 100%;left: 50%;margin-left: -60px;opacity: 0;transition: opacity 0.5s;}.gtz-tooltip::after{content: "";position: absolute;top: 100%;left: 50%;margin-left: -5px;border-width: 5px;border-style: solid;border-color: black transparent transparent transparent;}.pixanchor .gtz-tooltip {position:relative;padding: 5px 10px;}.small_sous_cta{font-size: 10px;font-family: arial; position:absolute;bottom: -15px; right: 0;background: white;border: 1px solid;padding: 1px 5px;opacity: 0.8;border-radius: 3px;} {/* ! Gothamazon AMP CSS */</textarea></td>
     2152                <td colspan="2"><textarea style="width:100%;height:400px;">/* Gothamazon AMP CSS Version 1.0 */ ul.smartstore{background:#fff;list-style:none;font-family:arial;font-size:13px;border:1px solid #eee;padding: 16px;border-radius:4px;margin:20px 0;display:inline-block;}ul.smartstore a .blob,ul.smartstore a .storeitemtitle{text-decoration:none}ul.izishop92 li{margin:3px 1%;margin-top:3px;list-style:none;padding:0;width:48%;border-radius:3px;display:inline-block}ul.smartstore .gothamrate{margin:5px 0 0;float:none;display:inline-block;width:100px;padding:0}ul.izishop92 .gothamrate{text-align:center;width:100%}ul.smartstore li .ficheproduit span.storeitemfoo{display:block;background:#e9fbeb;width:100%;float:left;border-radius:4px;padding:5px 0;text-align:center}ul.izishop92 li .ficheproduit span.storeitemprice{display:inline-block;color:#fff;font-weight:700;font-size:20px;width:100%;padding:5px 0;border-radius:8px;background:<?php echo $gothamazon_option_color_price_bg; ?>;font-style:italic;text-align:center;margin-bottom:5px}ul.smartstoresidebar li .ficheproduit span.storeitemprice strike, ul.smartstore li .ficheproduit span.storeitemprice strike{color:<?php echo $gothamazon_option_color_price_bg; ?>;background:#fff;white-space:nowrap;float:left;text-align:center;width:100%;font-size:14px}ul.smartstore li .ficheproduit span.storeitemcta{text-align:center;color:#fff;width:80%;border-radius:3px;float:none;margin:2% auto;font-weight:700;padding:4px;display:block;background:<?php echo $gothamazon_option_color_cta; ?>}ul.smartstorespotlight li .ficheproduit span.storeitemcta{font-size:26px}.blob{font-size:12px;text-align:center;display:block;margin:20px 0;color:#000}.elprime{width:90px;display:inline-block;float:right}.elfreeshpping{font-size: 10px;text-transform: uppercase;font-weight: bold;padding: 10px 0;display: block;background: yellow;  color: red;}.elfreeshppingspotlight{font-size: 12px;text-transform: uppercase;font-weight: bold;padding: 10px 20px 10px 0;display: block;background: yellow;  color: red;text-align:right;}ul.smartstore li .ficheproduit .vaiamage span{float:left;margin:0;border:1px solid #eee;object-fit:cover;width:32.5%;max-height:100px}.smartstorespotlight .storeitemtitle{font-size:12px;text-align:center;font-weight:700;display:block;clear:both;margin:20px 0;float:left;width:100%}.izishop92 .storeitemtitle{font-size:12px;text-align:center;font-weight:700;text-decoration:none;display:block;clear:both;height:20px;line-height:20px;overflow:hidden}.smartstorelegal{font-size:11px;text-align:center;font-family:arial;line-height:12px;}.pricepromo{font-size:160%;font-family:arial;background-color:<?php echo $gothamazon_option_color_price_bg; ?>;color:#fff;transform:rotate(-1deg);width:100%;display:block;font-style:italic;font-weight:1000;padding:5px 0;text-align:center}.uaresmart{background:#226ab5;color:#fff;display:inline-block;width:100%;padding:3px 0;border-radius:4px;text-align:center}.uaresmart strong,.uaresmart u{color:#fff}ul.smartstorespotlight .bleft,ul.smartstorespotlight .bright{display:block} ul.smartstore li a.ficheproduit.kamesen span.imgkra amp-img{height:160px;display:block;overflow:hidden;}ul.smartstore li a.ficheproduit.kamesen span.imgkra amp-img img{height:160px;overflow:hidden;object-fit:contain}ul.goth_indexboutique{list-style:none;padding:0;margin:0;display:inline-block;width:100%}ul.goth_indexboutique li{list-style:none;width:48%;padding:1%;margin:.5%;display:inline-flex;background:#fff;text-align:center;border-radius:3px}ul.goth_indexboutique li a{width:100%}ul.goth_indexboutique li a amp-img{width:100%;object-fit:contain;height:150px;padding:15px;overflow:hidden}ul.goth_indexboutique li a amp-img img{height:150px;overflow:hidden;object-fit:contain}ul.goth_indexboutique li a span{background:#fff;display:block;color:#000;text-align:center;text-transform:uppercase;font-weight:700;margin:0 auto;width:100%;padding:0 10px}.gtz_amacompliant{background:#181818;   color:#eee;text-align:center;padding:5px;font-size:12px;}.gtz_amz {display:block;float:none;text-align:right;}.izishop92 .gtz_amz {text-align:center;}.gtz_amz img {width:auto;max-width:100%;display:initial;}.ama_itxtlink::before{background:url("<?php echo $imgducsshey; ?>ama_icon.png") no-repeat left center transparent;position:relative;z-index:100000;left:0;top:0;background-size:100% 100%;line-height:12px;width:12px;height:12px;display:inline-block;margin-right:2px;margin-left:2px;content:"\0000a0";opacity:0.8;}.ssjinstinct ul {display: flex;overflow-x: scroll;border-radius:0;scroll-snap-type: x mandatory;}.ssjinstinct ul li { flex-grow: 1;flex-shrink: 0;flex-basis: 230px;}.ssjinstinct ul li.samba {width: 100%;margin:0 5px;background: transparent;  padding: 0;border-radius: 8px;}.ssjinstinct ul li.jonlok {width: 100%;padding: 0;margin: 0;}.ssjinstinct ul li .bim_blokprod {border-radius:0;} .ssjinstinct ul::-webkit-scrollbar {height: 26px;background-color: #181818;}.ssjinstinct ul::-webkit-scrollbar-thumb {background-color: #ff5a5f;border-top: 4px solid#181818; border-bottom: 4px solid #181818;}@media only screen and (max-width:1024px) {.gtz_amz {text-align:center;}}.newrules24 {position:absolute;top:24px;left:2px;width: auto;}ul.smartstore li {position:relative;}.gtz-info-icon {position: relative;cursor: pointer;}.gtz-info-icon:hover .gtz-tooltip,.gtz-info-icon:focus .gtz-tooltip {visibility: visible;opacity: 1;}.gtz-tooltip {   visibility: hidden;width: 120px; background-color: black;color: white;text-align: center;padding: 5px 0;border-radius: 6px;position: absolute;z-index: 1;bottom: 100%;left: 50%;margin-left: -60px;opacity: 0;transition: opacity 0.5s;}.gtz-tooltip::after{content: "";position: absolute;top: 100%;left: 50%;margin-left: -5px;border-width: 5px;border-style: solid;border-color: black transparent transparent transparent;}.pixanchor .gtz-tooltip {position:relative;padding: 5px 10px;}.small_sous_cta{font-size: 10px;font-family: arial; position:absolute;bottom: -15px; right: 0;background: white;border: 1px solid;padding: 1px 5px;opacity: 0.8;border-radius: 3px;} {/* ! Gothamazon AMP CSS */</textarea></td>
    21542153             </tr>
    21552154             
  • gothamazon/trunk/js/tinymscript.js

    r2718070 r3177194  
    503503                                    { text: 'Boulanger', value: 'boulanger' },
    504504                                    { text: 'Cdiscount', value: 'cdiscount' },
    505                                     { text: 'Deguisetoi', value: 'deguisetoi' },
    506505                                    { text: 'Ebay', value: 'ebay' },
    507506                                    { text: 'Fnac (Livres)', value: 'fnacbook' },
    508                                     { text: 'LEGO', value: 'lego' },
    509507                                    { text: 'ManoMano', value: 'manomano' },
    510508                                    { text: '⭐ Animaux', value: 'global_pets' },
    511509                                    { text: '⭐ Beauté', value: 'global_beaute' },
    512                                     { text: '⭐ Bébé & Maternité', value: 'global_bebe' },
    513510                                    { text: '⭐ Bijoux & Montres', value: 'global_bijoux' },
    514511                                    { text: '⭐ Cadeaux Originaux', value: 'global_gift' },
     
    952949                                    { text: 'Boulanger', value: 'boulanger' },
    953950                                    { text: 'Cdiscount', value: 'cdiscount' },
    954                                     { text: 'Deguisetoi', value: 'deguisetoi' },
    955951                                    { text: 'Ebay', value: 'ebay' },
    956952                                    { text: 'Fnac (Livres)', value: 'fnacbook' },
    957                                     { text: 'LEGO', value: 'lego' },
    958953                                    { text: 'ManoMano', value: 'manomano' },
    959954                                    { text: '⭐ Animaux', value: 'global_pets' },
    960955                                    { text: '⭐ Beauté', value: 'global_beaute' },
    961                                     { text: '⭐ Bébé & Maternité', value: 'global_bebe' },
    962956                                    { text: '⭐ Bijoux & Montres', value: 'global_bijoux' },
    963957                                    { text: '⭐ Cadeaux Originaux', value: 'global_gift' },
  • gothamazon/trunk/readme.txt

    r3112192 r3177194  
    44Tags: amazon affiliate, affiliate, affiliation, amazon, ecommerce, amazon product api
    55
    6 Stable tag: 3.2.8
    7 
    8 Tested up to: 6.6
     6Stable tag: 3.2.9
     7
     8Tested up to: 6.7
    99Requires at least: 6.0
    1010Requires PHP: 7.4.0
     
    180180== Changelog ==
    181181
     182= 3.2.9 =
     183
     184- Fix Prime Bug
     185- Remove inactives merchants
     186
    182187= 3.2.8 =
    183188
Note: See TracChangeset for help on using the changeset viewer.