Jump to content

Dave!

Members
  • Posts

    90
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

Dave!'s Achievements

Newbie

Newbie (1/14)

7

Reputation

1

Community Answers

  1. Hi But if I upload the image on product page it will be also visible in product image list. I dont want to show this custom image in lightbox I was thinking to have a special field in the backoffice in product edit page to specify that the desired image is custom type But I couldn't found a solution or module for the moment to do this.
  2. Hi I'm looking for a theme (prestashop 1.7.2) which has a custom style for the product page. Concretely I want to have product images on the background like on the hereunder link but with bigger images https://www.leslipfrancais.fr/le-triton-boxer-de-bain-bleu-795.html Thanks!
  3. Hi I'm looking for a solution to have a custom image on product page but not showed in the images list ( product images and thumbnails). I want to show this custom image in another place on the product page. Thanks! Prestashop version 1.7.2
  4. Try in backend: Shop Parameters->Contact then Stores tab
  5. I dont want to save in DB for not logged user I was thinking more in cookie or some context variable but I couln't find any info in documentation
  6. So the repeated links are visible on google? what keywords did you search? Did you check your sitemap?
  7. Dave!

    Domain

    Hi Did you perform all steps for migration? Maybe the hereunder link can help https://www.prestashop.com/en/blog/how-to-migrate-prestashop-to-a-new-server
  8. What's your prestashop version? When you say you did a check visibility what you mean?
  9. Hello I'm writing a custom module and in my module, not logged custommer can enter some data After that I want to save this data to show personalized info during navigation How and where I can store this data? (For logged users I'm storing in DB) Prestashop version 1.7.2
  10. Well yes it's possible withe setTemplate function too But finally I found another solution without touching controllers I modified code in catalog/_partials/miniatures/product.tpl file So it was not needed to create catalog/_partials/miniatures/product-custom.tpl {if $product.id_category_default<18}{$product.cover.bySize.home_default.url}{else}{$product.cover.bySize.home_default_2.url}{/if} Best Regards
  11. Hi My prestashop version is 1.7.2.4 Yes I use custom theme I forget to mention all steps that I implemented: 1. Create file category-20.tpl identical as category.tpl 2. Modify code in category-20.tpl (instead of standard product-list.tpl change to product-list-custom.tpl) {extends file='catalog/listing/product-list-custom.tpl'} 3. Create file product-list-custom.tpl identical as product-list.tpl 4. Modify the code in product-list-custom.tpl (instead of standard product.tpl change to product-custom.tpl) {include file='catalog/_partials/products-custom.tpl' listing=$listing} 5. Create file product-custom.tpl identical as product.tpl 6. Modify the code in product-custom.tpl (instead of standard miniature product.tpl change to custom miniature product-custom.tpl) {include file='catalog/_partials/miniatures/product-custom.tpl' product=$product} 7. Finally in the file catalog/_partials/miniatures/product-custom.tpl I did the hereunder modification to show another image in product listing <img ...... src = "{$product.cover.bySize.home_default_2.url}" ..... > So after this modification when I visited my category "20" page on front office, it was working The problem came when I sored products or filtered them The page reloaded and showed the standard render by using standard category.tpl So I just found some interesting info in the doc about render: http://developers.prestashop.com/themes/templates/100-listing.html#extending-product-list-template The responsible function is updateProductListDOM function updateProductListDOM (data) { $('#search_filters').replaceWith(data.rendered_facets); $('#js-active-search-filters').replaceWith(data.rendered_active_filters); $('#js-product-list-top').replaceWith(data.rendered_products_top); $('#js-product-list').replaceWith(data.rendered_products); $('#js-product-list-bottom').replaceWith(data.rendered_products_bottom); } And the file "classes/controllers/ProductListingFrontController.php" is helped me to fix this problem Thanks Razaro! So this is a solution, but I'm wondering if there isn't another way to resolve this problem because if Prestashop giving the possibility tu customize templates for specific category so there should be a way to have the same render even when sorting or filtering, or they forget this part!
  12. Hello According the ps 1.7 documentation I created custom tpl file for onecategory in "templates/catalog/listing" and I called it "category-20.tpl" (20 is the category id) After that the custom render is OK, but I have a problem when products are filtered by ps_facetedsearch module. When I click on any filter the render is coming back to the default category.tpl view Is anybody faced this problem or can tell me how manage this problem Thanks!
  13. Peut être vos templates emails ont été touché, parce que normalement l'attribut "alt" devrait être égal à http://jaiduchien.com/ <a title="{shop_name}" href="{shop_url}" style="color:#337ff1"> <img src="{shop_logo}" alt="{shop_name}" /> Essayer de vérifier vos templates dans le dossier mail Cordialement
  14. OK Essayer d'analiser le code html de l'email en sauvegardant au format html avec outlook ou un autre client email qui le permet Cordialement
×
×
  • Create New...