Jump to content

dhada

Members
  • Posts

    31
  • Joined

  • Last visited

Contact Methods

Profile Information

  • Activity
    Agency

dhada's Achievements

Newbie

Newbie (1/14)

15

Reputation

  1. try this I'm using prestashop 1.6.0.9 it will remove the sale items from the discount computation In CartRule.php find this if statement code // Discount (%) on the selection of products if ($this->reduction_percent && $this->reduction_product == -2) and replace it with this code // Discount (%) on the selection of products if ($this->reduction_percent && $this->reduction_product == -2) { $selected_products_reduction = 0; $selected_products = $this->checkProductRestrictions($context, true); if (is_array($selected_products)) foreach ($package_products as $product) if (in_array($product['id_product'].'-'.$product['id_product_attribute'], $selected_products) || in_array($product['id_product'].'-0', $selected_products)) { if (!(Product::isDiscounted((int)$product['id_product']))){ $price = ($use_tax ? $product['price_wt'] : $product['price']); $selected_products_reduction += $price * $product['cart_quantity']; } } $reduction_value += $selected_products_reduction * $this->reduction_percent / 100; }
  2. <select name="{$groupName}" id="group_{$id_attribute_group|intval}" class="attribute_select" onchange="findCombination();getProductAttribute();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};"> {foreach from=$group.attributes key=id_attribute item=group_attribute} <option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'} {$group.attributes_quantity[{$id_attribute|intval}]}</option> {/foreach} </select> this will display the quantity {$group.attributes_quantity[{$id_attribute|intval}]}
  3. Is there anything that need to change in paypal modules? IMPORTANT UPDATE Dear , In keeping with industry standards set by the Certification Authority/Browser (CA/ Forum, PayPal will discontinue supporting 1024-bit key length certificates and will migrate to 2048-bit certificates before the end of 2013. We have completed the installation of 2048-bit certificates for all API endpoints in our PayPal Sandbox and Payflow Pilot environments, and we will be doing the same for our production environments starting on August 6, 2013. We strongly encourage merchants to thoroughly test any existing integration(s) in the PayPal Sandbox and/or Payflow Pilot environments to ensure this migration will not cause any unforeseen issues. Please have the team or person responsible for your integration refer to the following: If you need to import the new PayPal Sandbox and/or Payflow Pilot server certificates to your application or system truststore, you can download production and Sandbox certificates from https://ppmts.custhe...etail/a_id/952. If you don't typically import the server certificates to your truststore, you can proceed with testing with no other action required. If you have any questions, please contact PayPal Merchant Technical Services by filing a ticket; refer to PP-LIVE-3503. You may also visit our Live Site Status blog. Sincerely, PayPal
  4. only tested with 1.4.4.1 up i didnt try yet below that version
  5. I already tried this UPDATE `ps_product` SET `indexed` = 1 WHERE `indexed` = 0 but its giving me server error when searching.
  6. modify the module and registered it in rightColumn !$this->registerHook('rightColumn') OR function hookRightColumn($params) { }
  7. I already updated the translation problem thanks.
  8. Displays featured, new, special and best seller products in tabs slider carousel mode in homepage. Features Configurable settings in backoffice. Can be hook in the following hooks. (Homepage content, Top of pages, Left column blocks, Right column blocks) Allows you to randomized the featured, new, special and best seller products. Configurable carousel settings. (Transition effect, Auto, Pause OnHover, Circular, Infinite, Items, Scroll and Duration) Built in keyboard and mouse-navigation. jQuery carouFredSel and Coda-Slider Integration Buy: Home Tabs Slider Carousel Demo: Home Tabs Slider Carousel
  9. http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/ try to read the configuration here.
  10. Prestashop Cufon Font Module you can download a free module here.
  11. He just want to build a bad reputation in prestashop this post must deleted.
  12. {include file="$tpl_dir./breadcrumb.tpl"} {include file="$tpl_dir./errors.tpl"} {if isset($category)} {if $category->id AND $category->active} <h1> {strip} {$category->name|escape:'htmlall':'UTF-8'} {$categoryNameComplement|escape:'htmlall':'UTF-8'} <span class="category-product-count"> {include file="$tpl_dir./category-count.tpl"} </span> {/strip} </h1> {if $products} {include file="$tpl_dir./product-compare.tpl"} {include file="$tpl_dir./product-sort.tpl"} {include file="$tpl_dir./product-list.tpl" products=$products} {include file="$tpl_dir./product-compare.tpl"} {include file="$tpl_dir./pagination.tpl"} {elseif !isset($subcategories)} <p class="warning">{l s='There are no products in this category.'}</p> {/if} {if $scenes} <!-- Scenes --> {include file="$tpl_dir./scenes.tpl" scenes=$scenes} {else} <!-- Category image --> {if $category->id_image} <div class="align_center"> <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" /> </div> {/if} {/if} {if $category->description} <div class="cat_desc">{$category->description}</div> {/if} {if isset($subcategories)} <!-- Subcategories --> <div id="subcategories"> <h3>{l s='Subcategories'}</h3> <ul class="inline_list"> {foreach from=$subcategories item=subcategory} <li> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} <img src="{$link->getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {else} <img src="{$img_cat_dir}default-medium.jpg" alt="" width="{$mediumSize.width}" height="{$mediumSize.height}" /> {/if} </a><br /> <a href="{$link->getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}</a> </li> {/foreach} </ul> <br class="clear"/> </div> {/if} {elseif $category->id} <p class="warning">{l s='This category is currently unavailable.'}</p> {/if} {/if} replace category.tpl with this
  13. check the line 48 of blockcms.tpl as said in the error unexpected {else}
  14. check the attachment this might help you blocksocialnetworks.zip
×
×
  • Create New...