Jump to content

cm_w89

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • First Name
    Ashfaq
  • Last Name
    Afzal

cm_w89's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi, I'm using PrestaShop 1.6.1.0. I have applied a specific price discount on a product. But when it comes to adding tax. It's being added on the base price not on discounted price. What should I do? Code in my Classes/Product.php: $specific_price_reduction = 0; if (($only_reduc || $use_reduc) && $specific_price) { if ($specific_price['reduction_type'] == 'amount') { $reduction_amount = $specific_price['reduction']; if (!$specific_price['id_currency']) $reduction_amount = Tools::convertPrice($reduction_amount, $id_currency); $specific_price_reduction = $reduction_amount; // Adjust taxes if required if (!$use_tax && $specific_price['reduction_tax']) $specific_price_reduction = $product_tax_calculator->removeTaxes($specific_price_reduction); if ($use_tax && !$specific_price['reduction_tax']) $specific_price_reduction = $product_tax_calculator->addTaxes($specific_price_reduction); } else $specific_price_reduction = $price * $specific_price['reduction']; }
  2. I have applied specific discount (in dollars not percentage) on some products. And without logging in the price is right (for example, the original price is $177.1 and I have applied a discount of $78.1, then it displays $99 as discounted price). But when the user is logged in then the discounted price goes to $105.12. Can anyone tell me why I'm having this problem? Note: Original price remains the same before and after logging in. It displays $177.1. Thanks for your Time.
  3. Hi, I have created several categories on my store. But I got a problem that I can't figure out. Category Pages are not showing all the products associated to them. On some pages all the associated products are being shown. On some page some of the total products are there. And Some pages just don't show any product at all. What should I do? Thanks in advance.
  4. Hi, I created a module to add a form on store in the left column. It was just for testing. I installed it and it displayed the form as expected. then I deleted the module but it is still displaying the form at mysotre.com but mystore.com/en is working fine. deleted all the files but still the same. Can anyone tell me how I can remove that thing.
×
×
  • Create New...