HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/dinamo-shop/wp-content/themes/dinamo-shop/woocommerce/checkout/form-checkout.php
<?php
/**
 * Checkout Form
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-checkout.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.5.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}



?>



<section class="section checkout">
	<div class="container">

		<div class="row">

			<div class="col-left">
				<?php
				do_action( 'woocommerce_before_checkout_form', $checkout );

				// If checkout registration is disabled and not logged in, the user cannot checkout.
				if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
				echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'woocommerce' ) ) );
				return;
				} ?>
				<form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
				<div id="CheckoutStep1">
				<?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>
				<?php if ( $checkout->get_checkout_fields() ) : ?>

				<?php do_action( 'woocommerce_checkout_billing' ); ?>
				<?php do_action( 'woocommerce_checkout_shipping' ); ?>
				<?php endif; ?>
				<?php do_action( 'woocommerce_checkout_after_customer_details' ); ?>
					<div class="text-center mt-25">
						<a href="#" id="CheckoutGoToStep2" class="btn btn-primary"><?php _e('Dalje', 'dinamo_shop'); ?></a><br>
					</div>
				</div>
				<div style="display:none;" id="CheckoutStep2">
					<?php woocommerce_checkout_payment(); ?>
				</div>

				</form>
			</div>


			<div class="col-right">
				<a href="#" class="btn btn-primary show-md" data-toggle="#order-details"><?php _e('Pregledaj narudžbu', 'dinamo_shop'); ?></a>
				<div class="order-details alt" id="order-details">
					<h3 class="hide-md"><?php _e('Pregled narudžbe', 'dinamo_shop'); ?></h3>
					<?php do_action( 'woocommerce_checkout_before_order_review_heading' ); ?>


					<?php do_action( 'woocommerce_checkout_before_order_review' ); ?>

					<div id="order_review" class="woocommerce-checkout-review-order">

						<?php do_action( 'woocommerce_checkout_order_review' ); ?>
					</div>

					<?php do_action( 'woocommerce_checkout_after_order_review' ); ?>

					<div>
						<h4 class="mt-30 conversion-rate"><?= __('Fiksni tečaj konverzije: 1€ = 7.53450 kn', 'dinamo-shop'); ?></h4>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>















<?php do_action( 'woocommerce_after_checkout_form', $checkout ); ?>