Jump to content

Bartjuh1994

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Location
    Nederland
  • Activity
    Freelancer

Bartjuh1994's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Thanks Dh42. I've installed APC 3.1.9 and everything is working fine now.
  2. Hi, I've installed Prestashop 1.6.0.8. But when i enabled APC cache i got the follow error message: Fatal error: Call to undefined method Db::getInstance() in /var/www/vhosts/domain.tld/httpdocs/config/alias.php on line 64 When i go to the webshop, the page will open, when i refresh the page shows the error above, when i refresh the page will open and so on.. Server info: PHP 5.4.30 CentOS 6.5 APC 3.1.15-dev Can someone help me? Thanks in advance
  3. Can someone help me to get the group ID / group Name in the ParentOrderController? I want to configure the order opc for a certain customer group like this: if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 0 && groupName != 'a' && strpos($_SERVER['PHP_SELF'], 'order.php') === false) Tools::redirect('order.php'); if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 1 && groupName == 'a' && strpos($_SERVER['PHP_SELF'], 'order-opc.php') === false) See 'groupName != 'a' and groupname == 'a' in the code above. Thanks in advance.
  4. Hi Prestashoppers, I want a bigger footer on my pdf invoice. But, when i add some data like: Address: City: Country: Company: Some text: Some text: The last 2 rows are not shown in the footer. How can i increase the footer height? Thanks in advance.
  5. How does the additional class works? I've tried to put some values in here, but the class doesn't work.
  6. Hi Prestashoppers, Is it possible to give a discount on a product based on the stock? Like: When the product has only 3 items left, then give it 50% discount. Thanks in advance. Bart
  7. I have the same problem. Did anyone figure this out? P.S. Where did you disabled the order splitting feature? I cant find this option in the backend..
  8. Ik heb exact hetzelfde probleem. De klant ontvangt haar e-mails wel gewoon per e-mail. Test e-mail verzenden lukt ook gewoon. Iemand die ons hiermee kan helpen? Ik heb overigens een schone installatie van 1.5.6.0.
  9. Hi Guys, How can i show the selected delivery and invoice address on the bankwire confirmation page? I'm using Prestashop 1.5.5.0. Thanks in advance
  10. Hi all, I want to open a fancybox with the product image on the product-list page. So, i've added the next code to the Frontcontroller (The fancybox works with this) // Execute Hook FrontController SetMedia Hook::exec('actionFrontControllerSetMedia', array()); $this->addjqueryPlugin('fancybox'); $this->addCSS(_PS_CSS_DIR_.'jquery.fancybox-1.3.4.css', 'all');} BUT. I've added this code to my product-list.tpl, the fancybox opens with an image but only the first image of the page. Not the right product image (All images for the whole page are the same). <a href="#inline1" class="show-fancybox" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} />"; {if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if} </a> <div style="display:none"> <div id="inline1" style="width:400px;"> <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if} /> </div> </div> <script type="text/javascript">/* <![CDATA[ */$('a.show-fancybox').fancybox();/* ]]> */</script> The code above is inside the foreach tags. PS. When i remove the <div style="display: none"> </div>, then Prestashop shows the right image.. I hope someone can help me. Thanks in advance
  11. Hi all, How can i get the customer group id in smarty (Product list page and product detail page)? Now i have the customer ID but i dont wanna know how to change it to the group id. The customer code i have: {if $cookie->id_customer == 3} Thanks in advance
  12. Guys, I have 2 CSV files: Products and combinations. The combinations are paired with the product ID. The problem is that each product have a different ID. Like this: ID;Productname;Color;Size 1;Shoe1;Red;8 2;Shoe1;Black;8 3;Shoe1;Blue;8 Now i have 3 the same productname names on the webshop and for each product a combination. I want 1 productname with 3 paired combinations. Can anyone help me? Its not a option to edit the product id's or productnames manually Thanks
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More