Jump to content

 

teosu

Member Since 09 Oct 2014
Online Last Active Today, 11:30 AM
*****

Topics I've Started

Ajax Popup On New Checkout Page Problem

12 September 2019 - 09:28 AM

Hi i want show an confirmation pupup before place order at new checkout ( v4.10.x lite checkout )

check the checkout forum :

<form name="litecheckout_payments_form" id="litecheckout_payments_form" action="https://www.domain.com/index.php?dispatch=checkout.place_order" method="post" data-ca-lite-checkout-element="checkout-form" data-ca-lite-checkout-ready-for-checkout="false" class="litecheckout__payment-methods cm-processed-form"> 

its not cm-ajax form.

 

i try checkout.pre with  $mode == 'place_order'

 

with following code:

if (defined('AJAX_REQUEST')) {

            Tygh::$app['view']->assign([
                'return_url' => isset($_REQUEST['return_url']) ? $_REQUEST['return_url'] : null,
                'redirect_url' => isset($_REQUEST['redirect_url']) ? $_REQUEST['redirect_url'] : null,
                'title' => __('confirm_before_order'),
            ]);

            Tygh::$app['view']->display('addons/my_changes/components/confirm.tpl');
            exit;
        }

also i try wihout if (defined('AJAX_REQUEST'))

 

its show just when checkout complete with new page.

 

anyone can give suggest or hot fix this ?


Javascripts Inside Popup Box Problem

27 August 2019 - 04:35 PM

i am creaating custom popup and have some javascripts but its doesnt load thats. what can be problem ? or how can i fix this ?


How Can I Hide Popup Title Completely ?

26 August 2019 - 10:22 AM

hi how can hide title area for popup box ,iam using cm-dialog-opener cm-dialog-auto-size classes, cant find any css code for hide title?


Vendor Commission Payment Surcharge Problem

16 August 2019 - 02:14 PM

Cs-cart adding payment surcharge to vendor commission i dont want this.

where is gone Take payment surcharge from vendors settting ?


Need Help About Vendor Payouts

15 August 2019 - 11:47 AM

Hi all, i need little help about experts,

I added extra payout types to VendorPayoutTypes type name is shipment

 

Why i need this ?:  if order shipping cost is 0 i will charge shipping price to vendors, shipping cost coming from shipping company api.

 

i added a row to ?:vendor_payouts table type with shipment or other no matter.

it appear on admin/vendor account but doesnt effect to balance, i just want (-) calculate that type records,

what can i do ? or which hook best for this problem ?