Jump to content



raiwa

Member Since 27 Apr 2009
OFFLINE Last Active Yesterday, 20:05
*****

Posts I've Made

In Topic: Discount Code BS

Yesterday, 16:59

@Tsimi,

 

Maybe I'm missing something, but isn't "position: relative;" also required.


In Topic: Discount Code BS

Yesterday, 07:25

Hello joe @joe122joe,

 

I had a look on the payment module and it seems not so easy.

As far as I could see, the module itself doesn't process order totals, it passes the prices for each product and totals seem to be calculated at the payment page. So you would need to add the order total processing and then pass the discount amount like an additional item (product) with negative price.

Something similar is done in the paypal express module.

You chould have a look on it.

Or you could check the API of the payment provider if there is an order total discount variable available.

 

Anyway, not easy and not possible to give you exact instructions without having access to the payment processor for testing.

 

rgds

Rainer


In Topic: Purchase without account for 2.3.4 and BS2334

26 April 2017 - 13:06

Hola Gustavo @PiLLaO,

 

The guest orders are flagged in the cm_cs_pwa_products_purchased.php module. Please make sure you are using that content module instead of the core module in the checkout_success page.

The related code lines are:

      if (tep_session_is_registered('customer_is_guest')){
        $navigation->set_snapshot();
        // flag guest order
        tep_db_query("update orders set customers_guest = '1' where customers_id = '" . (int)$customer_id . "'");

You also could check if the session parameter "customer_is_guest" gets correct registered during checkout process.

 

rgds

Rainer


In Topic: Purchase without account for 2.3.4 and BS2334

26 April 2017 - 06:37

Hola Gustavo @PiLLaO,

 

Do you see the customer flagged as guest in admin/customers and the order flagged as guerst order in admin/orders??


In Topic: Purchase without account for 2.3.4 and BS2334

25 April 2017 - 17:22

@PiLLaO,

 

in the next visited page (if he doesn't tick the "keep account" option).

$navigation->snapshot['page'] shows previous page.