Jump to content

mytrash

Members
  • Posts

    12
  • Joined

  • Last visited

Profile Information

  • Activity
    Developer

mytrash's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I am preparing new shop for my friend. We enabled homefeatured module which shows featured products on the home page. But we changed the algorithm for retrieving products. Products are displayed in random mode at this time - they are sorted randomly. It works perfectly when the CacheFS is disabled. When the CacheFS is enabled, the output of the module is always the same. I am not able to find details about CacheFS how it works. Is there some options how to disable cache on some parts of the page or some pages? Than you for your help. Myth
  2. Hello, this problem is still located in Prestashop 1.4.7.0. Myth
  3. Hello, I installed Prestashop 1.4.7.0 and imported data into the eshop with czech translation. When I have a look at database there are all languages filled: Product with name has 6 titles with translated texts etc. When I want to display product's information - product.tpl, than instead of values is displayed value 'Array'. I had a look into the product.tpl and there are lines like: <h1>{$product->name|escape:'htmlall':'UTF-8'}</h1> ... <div id="short_description_content" class="rte align_justify">{$product->description_short|strip_tags}</div> ... <div id="idTab1" class="rte">{$product->description}</div> But these values are arrays instead of string. print_r($product->description) looks like this: Array ( [1] => EN description [2] => FR description [3] => ES description [4] => DE description [5] => IT description [6] => CZ description ) I tried to change these lines into this format, and it works fine, but I don't know where I have to change these lines and why it is not working correctly... Can anybody help me what I have to change to enable working presta correctly? {assign var='id_lang' value=$cookie->id_lang} {if is_array($product->description)} <div id="idTab1" class="rte">{$product->description.$id_lang}</div> {else} <div id="idTab1" class="rte">{$product->description}</div> {/if} Thank you. Myth
  4. Hello, thank you for your answer. Is it possible to generate voucher in code on specified product? Is there any example how to do that? I am not able to find any example.
  5. I had to add new column into database, changed Product.php and administration of the products...
  6. Řešením je neuvádět v importu zboží názvy kategorií, ale jejich id. Příklad: Kola -> Silniční (id = 2) Rámy -> Silniční (id = 5) místo: "Kolo Favorit";"Silniční" "Rám Favorit";"Silniční" zadat: "Kolo Favorit";"2" "Rám Favorit";"5"
  7. I changed line 271 in OrderController.php from: if (self::$cookie->is_guest) to: if (self::$cookie->is_guest && $this->step != 2) This appears to have solved the issue. I can now place orders as a guest on the 5-step checkout. If I see other issues I'll log them.
  8. Hello I am developing module which allows user to buy product with zero price when he buys another (expensive) product. I am able to find that user is adding expensive product to cart. At this moment I would like to add another product to cart automatically with zero price. Example: There are 3 products on my stock: id name price 1 Bottle of vine 100 Eur 2 Table 200 Eur 3 Expensive Car 10000 Eur You can buy each product independently, but when you buy Expensive Car I would like to add Bottle of vine with ZERO price. At this time I am able to add Bottle of vine (I am using $cart->updateQty method), but the price of the vine in the cart is 100 Eur :-( and I need 0 Eur. Than you for your help. Myth
  9. Hello, I made a new fresh installation of latest prestashop 1.4.7 Full mode: includes core modules, 100+ additional modules and demo products (FREE). After installation I changed in administration "Purchase without registration" (guests can shopping without registration). When I want to make order withnout registration (as a Guest) this issue was happened (302 Moved Temporarily). Thank you. Myth
  10. Hello, I am new in prestashop. I would like to create new order, but in step 2 prestashop returns page with status code 302 Moved Temporarily. This page is called repeatedly again and again and at the end chrome returns error TOO_MANY_REDIRECTS. I don't know what is wrong... Could you help me to solve this problem? Thank you. Myth Rush
  11. Dobrý den, snažím se naimportovat data přes csv do prestashopu. Jedná se o web s koly, mám problém, že mám více podkategorií se stejným názvem MTB. Nevím, jak prestashopu přesně udat požadovanou kategorii - viz příklad. Kategorie: Kola SilničníKrosováMTB Komponenty RámySilničníMTBKrosováPláštěSilničníMTBKrosová Plášť pro MTB kolo je v kategoriích "Komponenty", "Pláště", "MTB". Pokud však plášť importuji, tak se mi v prestashopu nastaví kategorie MTB pro Rámy -> MTB místo pro Pláště -> MTB. Jde toto nějak při importu zpřesnit? Nechce se mi vytvářet kategorie "Pláště MTB", "Pláště krosová"... Díky Myth
  12. Hello, I would like to add some parameters to each product which will be available only for administration (not for custommers). I would like to store there information about product order codes, description for product manager etc. Is it possible to add these attributes? Thank you. Myth
×
×
  • Create New...