Skip to content

Issues with update v3.6.4 showing only ID's in admin paynl product description #24

@coMegaWebMaster

Description

@coMegaWebMaster

Hi, I do not why this should be only for NOTYD, but after the update I only see ID's no more product names. I update the code to this so that it is always adding the attribute ID and name correctly + it has the reference:
/modules/paynl_paymentmethods/controllers/front/payment.php
Line 36 took out the
public $addedProductIds = array();

Line 169 changed it to this
/** * @var $cart CartCore */ $products = $cart->getProducts(); foreach ($products as $product) { $taxClass = Pay_Helper::calculateTaxClass($product['price_wt'], $product['price_wt'] - $product['price']); $taxPercentage = $this->calculateTaxPercentage($product['price_wt'], $product['price']); $apiStart->addProduct($product['id_product'] . '_' . $product['id_product_attribute'], $product['reference'] . '_' . $product['name'], round($product['price_wt'] * 100), $product['cart_quantity'], $taxClass, $taxPercentage); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions