Changeset 3177194
- Timestamp:
- 10/28/2024 02:41:31 PM (15 months ago)
- Location:
- gothamazon/trunk
- Files:
-
- 1 added
- 6 edited
-
gotham_boutique.php (modified) (7 diffs)
-
gotham_spotlight_asin.php (modified) (6 diffs)
-
gotham_spotlight_keyword.php (modified) (6 diffs)
-
gothamzone.php (modified) (8 diffs)
-
img/monbento.png (added)
-
js/tinymscript.js (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gothamazon/trunk/gotham_boutique.php
r3080977 r3177194 39 39 global $use_rating; 40 40 global $use_prixbarre; 41 global $use_amaprime;42 41 global $gothamazon_option_marchandlogo; 43 42 global $hidetitre; … … 48 47 global $gtz_linquery_default; 49 48 global $gtz_awin_ref_id; 50 49 global $gothamazon_option_amaprime; 51 50 52 51 if ($amp != true) { … … 506 505 } 507 506 507 $payload .= ", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 508 $payload .= ", \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\""; 509 508 510 $payload.=" ],"; 509 511 $payload.=" \"Availability\": \"Available\","; … … 630 632 631 633 } 634 635 $payload .= ", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 636 $payload .= ", \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\""; 632 637 633 638 $payload.=" ],"; … … 914 919 } 915 920 916 if ( ($kel_api_utiliser == "lafayette") OR ($kel_api_utiliser == "global_tech")) {921 if ($kel_api_utiliser == "global_tech") { 917 922 918 923 $image = isset($item['Images']['Thumb']['URL']) ? $item['Images']['Thumb']['URL'] : NULL; … … 1137 1142 $show_merchand_logo = true; 1138 1143 $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; 1139 1160 1140 1161 if ((BEERUS == "godmod") OR ($legalytext == "oui")) { … … 1443 1464 file_put_contents($bug_log_file_chem, "GTZ Boutique"); 1444 1465 1445 1446 1447 1466 return $output; 1448 1467 -
gothamazon/trunk/gotham_spotlight_asin.php
r3080977 r3177194 31 31 global $use_rating; 32 32 global $use_prixbarre; 33 global $use_amaprime;34 33 global $hidetitre; 35 34 global $gtz_tokyo4; 36 35 global $parachutemodeegta; 36 global $gothamazon_option_amaprime; 37 37 38 38 if ($amp != true) { … … 119 119 if ($titremano != '') {$kapsutitre='o';} else {$kapsutitre='n';} 120 120 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';} 122 122 if ($force1pic == 'oui') {$tsec='o';} elseif ($force1pic == 'non') {$tsec='n';} else {$tsec='n';$force1pic='non';} 123 123 ////////////////////////////////////////////////////////////////////////////// … … 206 206 $payload.=", \"ItemInfo.Title\""; 207 207 } 208 if ($use_amaprime == "oui") { 209 $payload.=", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 210 } 208 211 209 // if ($boodisplayprice == 'oui') { Provoque un Bug Inexpliqué 212 210 $payload.=", \"Offers.Listings.Price\""; … … 215 213 216 214 //} 215 216 $payload .= ", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 217 $payload .= ", \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\""; 218 217 219 $payload.=" ],"; 218 220 $payload.=" \"PartnerTag\": \"$amazontrackingcode\","; … … 479 481 // Amazon Prime 480 482 $logoduprime = ""; 481 if (($use_amaprime == "oui") AND ($gtz_tokyo4 != "oui")) { 482 483 484 if (($gothamazon_option_amaprime == "oui") AND ($gtz_tokyo4 != "oui")) { 485 483 486 $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 496 502 } 497 503 … … 703 709 704 710 } 705 711 712 $output .= $gestiondeprime; 706 713 $output.="<span class='storeitemcta $cuzhprice_css'><span class='eyecandy'><span>(+) d'infos</span>"; 707 714 -
gothamazon/trunk/gotham_spotlight_keyword.php
r3080977 r3177194 35 35 global $use_rating; 36 36 global $use_prixbarre; 37 global $use_amaprime;38 37 global $gothamazon_option_marchandlogo; 39 38 global $parachutemodeegta; … … 42 41 global $gtz_linquery_default; 43 42 global $gtz_awin_ref_id; 43 global $gothamazon_option_amaprime; 44 44 45 45 if ($amp != true) { … … 220 220 if ($descriptionmano != '') {$kapsudesc='o';} else {$kapsudesc='n';} 221 221 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';} 224 224 225 225 $force1pic = (isset($force1pic)) ? $force1pic : ''; … … 408 408 $payload.=", \"ItemInfo.Title\""; 409 409 } 410 if ($use_amaprime == "oui") { 411 $payload.=", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 412 } 410 413 411 if ($boodisplayprice == 'oui') { 414 412 $payload.=", \"Offers.Listings.Price\""; … … 418 416 } 419 417 } 418 419 $payload .= ", \"Offers.Listings.DeliveryInfo.IsPrimeEligible\""; 420 $payload .= ", \"Offers.Listings.DeliveryInfo.IsFreeShippingEligible\""; 421 420 422 $payload.=" ],"; 421 423 $payload.=" \"Availability\": \"Available\","; … … 765 767 // Amazon Prime 766 768 $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) { 769 778 $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; 781 787 782 788 } -
gothamazon/trunk/gothamzone.php
r3112192 r3177194 4 4 * Plugin URI: https://gothamazon.com 5 5 * Description: Parse Amazon Product Advertising API Feed in 30 seconds 6 * Version: 3.2. 86 * Version: 3.2.9 7 7 * Requires PHP: 7.4 8 8 * Author: Kapsule Network … … 77 77 $amazontrackingcode = get_option('gothamazon_ama_track'); 78 78 $amazontrackingcode_ghost = $amazontrackingcode; // Ancrage pour gérer le multi user 79 79 $gothamazon_option_amaprime = get_option('gothamazon_option_amaprime'); 80 80 81 $cachingtime = get_option('gothamazon_option_cachingtime'); 81 82 if ($cachingtime == 86400) {$cachingtime_txt="24h";} // 24 H par défaut … … 156 157 $use_prixbarre = get_option('gothamazon_option_prixbarre'); 157 158 if ($use_prixbarre == "") {$use_prixbarre = "oui";} 158 159 $use_amaprime = get_option('gothamazon_option_amaprime');160 if ($use_amaprime == "") {$use_amaprime = "oui";}161 159 162 160 $use_rating = get_option('gothamazon_option_rating'); … … 605 603 606 604 .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;} 608 608 @media only screen and (max-width:1024px) { 609 609 ul.smartstore li { … … 1344 1344 @media screen and (max-width: 767px) {.ssj24-carousel-arrow{top:16%;}.ssj24-carousel-arrow img {width: 40px;}} 1345 1345 .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 1347 1348 '; 1348 1349 … … 1965 1966 <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> 1966 1967 <td> 1967 <?php $gothamazon_option_amaprime = get_option('gothamazon_option_amaprime'); ?>1968 1968 <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"; } ?>> 1969 1969 <option value="oui" <?php selected( $gothamazon_option_amaprime, 'oui' ); ?>><?php echo $txt_adwin_yes; ?> ️✔️</option> … … 2077 2077 <option value="boulanger" <?php selected( $gtz_tokyo4_3bay, 'boulanger' ); ?>>Boulanger</option> 2078 2078 <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> 2080 2080 <option value="ebay" <?php selected( $gtz_tokyo4_3bay, 'ebay' ); ?>>eBay</option> 2081 2081 <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="m anomano" <?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> 2084 2084 <option value="wegoboard" <?php selected( $gtz_tokyo4_3bay, 'wegoboard' ); ?>>Wegoboard</option> 2085 2085 <option value="global_pets" <?php selected( $gtz_tokyo4_3bay, 'global_pets' ); ?>>⭐ Animaux</option> 2086 2086 <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>2088 2087 <option value="global_bijoux" <?php selected( $gtz_tokyo4_3bay, 'global_bijoux' ); ?>>⭐ Bijoux & Montres</option> 2089 2088 <option value="global_gift" <?php selected( $gtz_tokyo4_3bay, 'global_gift' ); ?>>⭐ Cadeaux Originaux</option> … … 2151 2150 $imgducsshey = "$plugins_url/gothamazon/img/"; 2152 2151 ?> 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> 2154 2153 </tr> 2155 2154 -
gothamazon/trunk/js/tinymscript.js
r2718070 r3177194 503 503 { text: 'Boulanger', value: 'boulanger' }, 504 504 { text: 'Cdiscount', value: 'cdiscount' }, 505 { text: 'Deguisetoi', value: 'deguisetoi' },506 505 { text: 'Ebay', value: 'ebay' }, 507 506 { text: 'Fnac (Livres)', value: 'fnacbook' }, 508 { text: 'LEGO', value: 'lego' },509 507 { text: 'ManoMano', value: 'manomano' }, 510 508 { text: '⭐ Animaux', value: 'global_pets' }, 511 509 { text: '⭐ Beauté', value: 'global_beaute' }, 512 { text: '⭐ Bébé & Maternité', value: 'global_bebe' },513 510 { text: '⭐ Bijoux & Montres', value: 'global_bijoux' }, 514 511 { text: '⭐ Cadeaux Originaux', value: 'global_gift' }, … … 952 949 { text: 'Boulanger', value: 'boulanger' }, 953 950 { text: 'Cdiscount', value: 'cdiscount' }, 954 { text: 'Deguisetoi', value: 'deguisetoi' },955 951 { text: 'Ebay', value: 'ebay' }, 956 952 { text: 'Fnac (Livres)', value: 'fnacbook' }, 957 { text: 'LEGO', value: 'lego' },958 953 { text: 'ManoMano', value: 'manomano' }, 959 954 { text: '⭐ Animaux', value: 'global_pets' }, 960 955 { text: '⭐ Beauté', value: 'global_beaute' }, 961 { text: '⭐ Bébé & Maternité', value: 'global_bebe' },962 956 { text: '⭐ Bijoux & Montres', value: 'global_bijoux' }, 963 957 { text: '⭐ Cadeaux Originaux', value: 'global_gift' }, -
gothamazon/trunk/readme.txt
r3112192 r3177194 4 4 Tags: amazon affiliate, affiliate, affiliation, amazon, ecommerce, amazon product api 5 5 6 Stable tag: 3.2. 87 8 Tested up to: 6. 66 Stable tag: 3.2.9 7 8 Tested up to: 6.7 9 9 Requires at least: 6.0 10 10 Requires PHP: 7.4.0 … … 180 180 == Changelog == 181 181 182 = 3.2.9 = 183 184 - Fix Prime Bug 185 - Remove inactives merchants 186 182 187 = 3.2.8 = 183 188
Note: See TracChangeset
for help on using the changeset viewer.