Dave!
Members-
Posts
90 -
Joined
-
Last visited
Profile Information
-
Activity
Freelancer
Dave!'s Achievements
-
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.
-
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
-
Try in backend: Shop Parameters->Contact then Stores tab
-
Did you tried to re-build the search index?
-
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
-
So the repeated links are visible on google? what keywords did you search? Did you check your sitemap?
-
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
-
What's your prestashop version? When you say you did a check visibility what you mean?
-
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
-
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
-
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!
-
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!
-
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
.png.022b5452a8f28f552bc9430097a16da2.png)