dhada
Members-
Posts
31 -
Joined
-
Last visited
Contact Methods
- Website
Profile Information
-
Activity
Agency
dhada's Achievements
Newbie (1/14)
15
Reputation
-
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; }
- 64 replies
-
- 2
-
- improvements
- cart rules
-
(and 3 more)
Tagged with:
-
Display Attribute Quantities in the DropDown
dhada replied to Minkiu's topic in Configuring and using PrestaShop
<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}]}- 7 replies
-
- 2
-
- attributes
- combination
-
(and 3 more)
Tagged with:
-
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
-
only tested with 1.4.4.1 up i didnt try yet below that version
-
Out of resources when opening file Error?
dhada replied to niroism's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
I already tried this UPDATE `ps_product` SET `indexed` = 1 WHERE `indexed` = 0 but its giving me server error when searching. -
modify the module and registered it in rightColumn !$this->registerHook('rightColumn') OR function hookRightColumn($params) { }
-
I already updated the translation problem thanks.
-
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
-
Slideshow lite by Webbax
dhada replied to fashionpup's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
http://www.beyondcoding.com/2009/08/04/release-jquery-plugin-slideshow-lite/ try to read the configuration here. -
Prestashop Cufon Font Module you can download a free module here.
-
prestashop is rubbish
dhada replied to simondavidson's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
He just want to build a bad reputation in prestashop this post must deleted. -
change the category view
dhada replied to phototravel's topic in Addons, modules and themes developers
{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- 2 replies
-
- category
- category view
-
(and 1 more)
Tagged with:
-
{if $page_name == 'index'} yes this is the correct
-
The home page = blank page = :-(
dhada replied to gwendal's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
check the line 48 of blockcms.tpl as said in the error unexpected {else} -
check the attachment this might help you blocksocialnetworks.zip