Foro de WP Car Rental

Por favor, o Registro para crear entradas y debates.

CouponCode Step on 4 Step


Hello i would like to ask if can you tell me how to put the Coupon Code field also on the 4 step on my website. I make it with Phpstorm if this is needed.

Also on the next Update can we put when we have a coupon code on the last page the costumer see the percent that he win with this coupon so can the costumer really believe that we have an action made! thanks a lot

Hello Alex,

Yes, I havent tested it, but the following code should do the work if using Car rental system v5.0.2+:

<form action="" name="coupon-submit" id="coupon-submit" method="post">
    <input type="hidden" name="<?= esc_attr( $extPrefix . $orderCodeParam ); ?>" value="<?= esc_attr( $orderCode ); ?>"/>
    <input type="hidden" name="<?= esc_attr( $extPrefix ); ?>do_not_flush" value="yes"/>
    <input type="text" name="coupon_code"
           value="<?= esc_attr( $couponCode != "" ? $couponCode : $lang['LANG_COUPON_CODE_INPUT2_TEXT'] ); ?>"
    class="coupon-code" title="<?= esc_attr( $lang['LANG_COUPON_CODE_TEXT'] ); ?>"
    onfocus="if(this.value === '<?= esc_js( $lang['LANG_COUPON_CODE_INPUT2_TEXT'] ); ?>') {this.value=''}"
    onblur="if(this.value === ''){this.value ='<?= esc_js( $lang['LANG_COUPON_CODE_INPUT2_TEXT'] ); ?>'}"/>
    <button type="submit" name="<?= esc_attr( $extPrefix ); ?>do_search4" class="button">Apply</button>

I will check if I can add the percentage from theme before next update, otherwise you will have to ask this to plugin author.


hello again thanks a lot but what file i must open and put it in because i have try on /wp-content/plugins/FleetManagement/Controllers/Front/Search/Step5SummaryController.php and it is not working


No worries i made it and work perfectly thanks a lot for your help!!!!!!


check out for the next update idea! thanks alot

Thank you very much for the coupon information. I did the same update on my website, everything works fine. Even there is now a new opportunity to add bonus codes for no deposit operations. Very cool option.

Very good idea Alex, I might add it on next update.

Thank you!

It worked thanks.


W.P rental car is presented for the approval of the decision for the individuals. The quality of the rented car and free paper writer is organized for the customers. The clients are fully satisfied and equipped for the regional ways for the services.

If you are looking for test banks online, the best place for Testbank Downloads would be TestBanksOnline. Do not wait to buy <a href=" ">Nursing Research Methods And Critical Appraisal For Evidence Based Practice Nursing Research Methods Critical Appraisal Utilization 7th Edition Test Bank</a> online anymore. Get Test Banks Download and improve your grades. TestBanksOnline is the best website to Buy Test Banks Online. Great study materials like <a href=" ">Maternity Nursing 8th Edition Test Bank</a> are available with instant download and best discounts. Search 4000+ test banks and solution manuals online.