sidro
Global Moderators-
Content Count
299 -
Joined
-
Last visited
Everything posted by sidro
-
BLOCKTOPMENU category buttons link to homepage
sidro replied to MusikMachineMan 's topic in OUT - 1.6.0.11 [7 Jan 2015]
replace in blocktopmenu.php $html = ''; foreach ($categories as $key => $category) { if ($category['level_depth'] > 1) { with: $html = ''; foreach ($categories as $key => $category) { if ($category['level_depth'] > 0) {- 5 replies
-
- BLOCKTOPMENU
- category
-
(and 1 more)
Tagged with:
-
fix by deleting category id_category=2 from all mysql tables (ps_category, ps_category_group, ps_category_lang, ps_category_product, ps_category_shop) and set root id_category=1 as is_root_category =1 also put parent category (ps_category) on other subcategories assigned before to category 2 ; assign them to parent category 1 after deletion of category2
-
other way to remove just new condition: in \themes\default-bootstrap\product.tpl replace <p id="product_condition"> <label>{l s='Condition:'} </label> {if $product->condition == 'new'} <link itemprop="itemCondition" href="https://schema.org/NewCondition"/> <span class="editable">{l s='New product'}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="https://schema.org/UsedCondition"/> <span class="editable">{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="https://schema.org/RefurbishedCondition"/> <span class="editable">{l s='Refurbished'}</span> {/if} </p> with: <p id="product_condition"> {if $product->condition == 'new'} <link itemprop="itemCondition" href="https://schema.org/NewCondition"/> <span class="editable"><label>{l s=''} </label>{l s=''}</span> {elseif $product->condition == 'used'} <link itemprop="itemCondition" href="https://schema.org/UsedCondition"/> <span class="editable"><label>{l s='Condition:'} </label>{l s='Used'}</span> {elseif $product->condition == 'refurbished'} <link itemprop="itemCondition" href="https://schema.org/RefurbishedCondition"/> <span class="editable"><label>{l s='Condition:'} </label>{l s='Refurbished'}</span> {/if} </p>
-
follow this tutorial and you will succed ! tested on 1.6.1.11beta version! themes\your_theme\css\modules\blockcart add .scrollvertical{ overflow-y:scroll; height:300px; } height: your desire height of cart extended themes\your_theme\modules\blockcart\blockcart.tpl replace this : <dl class="products"> with: <dl class="products {if $products|@count>3}scrollvertical{/if}"> count> number of products you want scroll to begin with. themes\your_theme\js\modules\blockcart\ajax-cart.js replace this : //send the ajax request to the server $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType : "json", data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): '' + '&id_customization=' + ((typeof customizationId !== 'undefined') ? customizationId : 0)), success: function(jsonData,textStatus,jqXHR) { // add appliance to whishlist module if (whishlist && !jsonData.errors) WishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]); if (!jsonData.hasError) { if (contentOnly) window.parent.ajaxCart.updateCartInformation(jsonData, addedFromProductPage); else ajaxCart.updateCartInformation(jsonData, addedFromProductPage); if (jsonData.crossSelling) $('.crossseling').html(jsonData.crossSelling); if (idCombination) $(jsonData.products).each(function(){ if (this.id != undefined && this.id == parseInt(idProduct) && this.idCombination == parseInt(idCombination)) if (contentOnly) window.parent.ajaxCart.updateLayer(this); else ajaxCart.updateLayer(this); }); else $(jsonData.products).each(function(){ if (this.id != undefined && this.id == parseInt(idProduct)) if (contentOnly) window.parent.ajaxCart.updateLayer(this); else ajaxCart.updateLayer(this); }); if (contentOnly) parent.$.fancybox.close(); } else { if (contentOnly) window.parent.ajaxCart.updateCart(jsonData); else ajaxCart.updateCart(jsonData); if (addedFromProductPage) $('#add_to_cart button').removeProp('disabled').removeClass('disabled'); else $(callerElement).removeProp('disabled'); } emptyCustomizations(); with: //send the ajax request to the server $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType : "json", data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): '' + '&id_customization=' + ((typeof customizationId !== 'undefined') ? customizationId : 0)), success: function(jsonData,textStatus,jqXHR) { // add appliance to whishlist module if (whishlist && !jsonData.errors) WishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]); if (!jsonData.hasError) { if (contentOnly) window.parent.ajaxCart.updateCartInformation(jsonData, addedFromProductPage); else ajaxCart.updateCartInformation(jsonData, addedFromProductPage); if (jsonData.crossSelling) $('.crossseling').html(jsonData.crossSelling); if (idCombination) $(jsonData.products).each(function(){ if (this.id != undefined && this.id == parseInt(idProduct) && this.idCombination == parseInt(idCombination)) if (contentOnly) window.parent.ajaxCart.updateLayer(this); else ajaxCart.updateLayer(this); }); else $(jsonData.products).each(function(){ if (this.id != undefined && this.id == parseInt(idProduct)) if (contentOnly) window.parent.ajaxCart.updateLayer(this); else ajaxCart.updateLayer(this); }); if (contentOnly) parent.$.fancybox.close(); } else { if (contentOnly) window.parent.ajaxCart.updateCart(jsonData); else ajaxCart.updateCart(jsonData); if (addedFromProductPage) $('#add_to_cart button').removeProp('disabled').removeClass('disabled'); else $(callerElement).removeProp('disabled'); } /* JS Scroll Vertical */ if($('.cart_block_list:first dl.products dt').length > 2) $('.cart_block_list:first dl.products').addClass('scrollvertical'); else $('.cart_block_list:first dl.products').removeClass('scrollvertical'); /* JS Scroll Vertical */ emptyCustomizations(); and in the same file themes\your_theme\js\modules\blockcart\ajax-cart.js replace this : //remove a product from the cart via ajax remove : function(idProduct, idCombination, customizationId, idAddressDelivery){ //send the ajax request to the server $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType : "json", data: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true', success: function(jsonData) { ajaxCart.updateCart(jsonData); if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery); }, with: //remove a product from the cart via ajax remove : function(idProduct, idCombination, customizationId, idAddressDelivery){ //send the ajax request to the server $.ajax({ type: 'POST', headers: { "cache-control": "no-cache" }, url: baseUri + '?rand=' + new Date().getTime(), async: true, cache: false, dataType : "json", data: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true', success: function(jsonData) { ajaxCart.updateCart(jsonData); if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery); /* JS Scroll Vertical */ if(($('.cart_block_list:first dl.products dt').length-1) > 2) $('.cart_block_list:first dl.products').addClass('scrollvertical'); else $('.cart_block_list:first dl.products').removeClass('scrollvertical'); /* JS Scroll Vertical */ }, clear cache / force recompile to see changes
-
Solved this way : replace : <section class="blockcategories_footer footer-block col-xs-12 col-sm-2"> with: <section class="footer-block col-xs-12 col-sm-2"> file : prestashop\themes\default-bootstrap\modules\blockcategories\blockcategories_footer.tpl default-bootstrap or your theme or leave this file intact: prestashop\themes\default-bootstrap\modules\blockcategories\blockcategories_footer.tpl and in the \themes\your-theme\css\global.css file replace this: .footer-container #footer .blockcategories_footer { clear: left; } with this : .footer-container #footer .blockcategories_footer ul li {float:left; display:inline-block; width:50%}
-
Category Block in Footer messed up.
sidro replied to SWcoins.com 's topic in OUT - 1.6.0.11 [7 Jan 2015]
Solved this way : replace : <section class="blockcategories_footer footer-block col-xs-12 col-sm-2"> with: <section class="footer-block col-xs-12 col-sm-2"> file : prestashop\themes\default-bootstrap\modules\blockcategories\blockcategories_footer.tpl default-bootstrap or your theme- 6 replies
-
- category block
- blockcategory
-
(and 1 more)
Tagged with:
-
hi there ! how can you make the import of orders.csv file exported with exportpro module (export orders) if the module is used to upgrade from 1.5 to 1.6 or 1.7 version of prestashop. in back-office via import option you don't have this option to import orders ! thx!
- 150 replies
-
- export product combinations
- export customers
- (and 7 more)
-
[SOLVED] Make Top horizontal menu adjust to one row
sidro replied to flippers 's topic in Addons, modules and themes developers
.- 12 replies
-
CSV import categories
sidro replied to noudshoorn 's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
also when importing with link rewrite if doesn't have cat id; it gives same error. import without link rw no error at all -
.sf-menu { margin: auto; in superfish-modified.css
-
din fisierele astea poti sterge campurile si poti modifica care sa fie obligatorii si care nu. cele obligatorii au * (stelute). …/prestashop/themes/prestashop/authentification.tpl ..../prestashop/themes/prestashop/order-opc-new-account.tpl Campuri obligatorii sunt marcate asa: <sup>*</sup>{l s='Required field'} daca nu vrei sa fie obligatorii stergi <sup>*</sup> de la sfarsitul paragrafului campului respectiv si inlocuiesti <p class="required text"> cu <p class="text"> Vrei sa stergi nr. de tel. fix; stergi urmatoarele: <p class="text"> <label for="phone_invoice">{l s='Home phone'} </label> <input type="text" class="text" name="phone_invoice" id="phone_invoice" value="" /> <sup>*</sup> </p>
-
interesant.... de unde le ai ??? :cheese: sunt pentru versiuni pana la 1.3 inclusiv
-
fisierele anterioare erau pentru versiuni prestashop pana la 1.3 si 1.3 inclusiv. pentru 1.4 este necesara modificarea urmatoarelor fisiere: 1. …/prestashop/classes/Address.php 2. …/prestashop/adminXXX/tabs/AdminAddresses.php 3. …/prestashop/themes/prestashop/address.tpl 4. …/prestashop/themes/prestashop/authentification.tpl 5. ../prestashop/themes/prestashop/order-opc-new-account.tpl 5. pdf Momentan ... realizat... in teste pe 1.4.2.5 update 12.2012 : functional pe v1.4.6.2
-
already tried that and it's not working
-
not yet. but i do need some help with this.
-
OFF TOPIC : nu are nici o varianta. el doar posteaza pt. linkurile din semnatura si pt. a face spam pe forumul romanesc prestashop. In cazul in care vedeti posturile lui rhodiolin sau prestarou si nu au nici o legatura cu threadul, va rog ignorati-le. Sunt una si aceeasi persoana si nu face altceva decat SPAMM pt. linkurile din semnatura. ON TOPIC : curier rapid : Fan Courier, Atlasib, DHL, TNT, etc. Recomand Atlasib la extern in tari UE costa aproximativ 10 euro pt. colete mici. TNT am folosit pt. Moldova, dar nu cunosc pretul pt. ca nu am platit eu. Iti trebuie factura in mai multe expemplare (copii xerox) pt. curier/vamuire si niste declaratii. Nu este foarte complicat. Atlasib si Fan Courier pt. Moldova este tot cam 10-15 euro pt. colete mici.
-
citeste mai jos. (am postat de 2 ori acelasi lucru din cauza ca nu s-a incarcat pagina cum trebuie)
-
adwords in cazul tau. e singura varianta... dar una costisitoare
-
EDITEAZA PRIMUL POST AL TOPICULUI SI SCRIE [REZOLVAT] INAINTEA TITLULUI !
-
in baza de date. le cauti folosind phpMyAdmin ps_cms TOT CE SE INTRODUCE DIN FRONT OFFICE SI BACK OFFICE SE DUC IN BAZA DE DATE ! NU SE CREAZA FISIERE.
-
am vazut postul asta acum ceva timp dar nu am avut timp sa va raspund. eu am aceasta modificare in magazine.... nici acum nu am timp sa va explic pas cu pas, in schimb va atasez fisierele necesare. in baza de date se adauga campuri noi in tabelul ps_addresess ca in print screenul atasat (CIF recom banca) fisierele modificate sunt : /themes/prestashop/authentification.tpl /classes/Address.php /admin/tabs/AdminAddresses.php /classes/PDF.php de asemenea fisierele atasate includ numar de telefon obligatoriu fix sau mobil si campul cumpara fara cont (modulul PWA purchase_without_account ) PS.: authentification.tpl.txt din atasament trebuie redenumit in authentification.tpl cand o sa am timp o sa si explic detaliat cum se face modificarea aceasta. Address.php AdminAddresses.php PDF.php authentication.tpl.txt
-
{REZOLVAT}Are prestashop data feed pentru alte site-uri ?
sidro replied to sebinike 's topic in Discuţii generale
am atasat feed-urile pentru shopmania, cauti si goshopping. daca le aveti si pentru altceva va rog sa le atasati. datafeed_shopmania_prestashop.php goshop_prestashop.php export_cauti_prestashop.php -
.htaccess chmod 777 pt friendly url
