NewUser

India

stackoverflow.com

Age: 28

I am just a beginner in the field of web. I like to know about new technology behind Web Sites and Web Applications.

11h
awarded Popular Question
Apr
11
awarded Notable Question
Apr
5
asked Prestashop 1.6 make left column for any pages after copy the default theme is not working?
Mar
27
asked Package theme for prestashop 1.6?
Mar
26
asked Prestashop 1.6 move search block to extremely right and category menu at the center of logo and search
Mar
17
awarded Notable Question
Mar
16
awarded Famous Question
Mar
14
awarded Yearling
Mar
12
accepted Prestashop get the product default image from the product name?
Mar
12
comment Prestashop get the product default image from the product name?
Thanks a million that worked finally...
Mar
12
comment Prestashop get the product default image from the product name?
Nope that one showing #1054 - Unknown column 'id_i‌​mage' in 'field list'
Mar
12
comment Prestashop get the product default image from the product name?
ok..I got that but as you can see I have already query above I have written SELECT ps_product.id_product,ps_product.id_category_default,description_short,ps_produc­t_lang.name FROM ps_product_lang,ps_product WHERE ps_product_lang.id_lang=1 AND ps_product.id_product=ps_product_lang.id_product I have used this one for getting product id,name, desc. So can u tell me how to merge your query with this so that I will get product id, product name, desc, category id, image id at a same time?
Mar
12
comment Prestashop get the product default image from the product name?
in your answer you have used for ($i = 0; $i < strlen($idImage); $i++) { $imgPath .= $idImage[$i] . '/'; } So can you tell me how to get the variable $idImage?
Mar
12
comment Prestashop get the product default image from the product name?
thanks for the answer. But can you tell me what will be the exact path for the image. As because img tag shows image from src. so to show an image we need our image path like this <img src="img/p/1/5/15.jpg" alt="" /> for the product id 1. Now according to your answer I am getting the image name 15.jpg and thats good but how to get the image path? Without image path how can I use that image name? According to your answer image path will <img src="img/p/15.jpg"> So now can you tell me how to get 1 and 5 as because the right image path for the product_id 1 is <img src="img/p/1/5/15.jpg">
Mar
11
comment Redirection probleme adress prestashop
Do you have any code? Show us...
Mar
11
asked Prestashop get the product default image from the product name?
Mar
10
asked Using grep to search texts with single quote?
Mar
6
awarded Nice Question
Mar
4
awarded Famous Question
Mar
4
awarded Popular Question
1 2 3 4 5