Adding space after symbol “:” for variation – Cart and Checkout page

This topic has 6 replies, 3 voices, and was last updated 6 months ago ago by Luca Rossi

  • Avatar: SS
    SS
    Participant
    June 19, 2024 at 15:36

    Hi Team Support,

    Is that possible to add a space after symbol “:” for variation on Cart pop up, Cart page and Check out page?

    The example is on screenshots.

    Thanks!

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: SS
    SS
    Participant
    June 19, 2024 at 15:36

    Sorry, I mean BEFORE the symbol “:”

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 19, 2024 at 15:44

    Hello,

    Thank you for contacting us and for using XStore.

    We can’t log in using the credentials you provided: “Error: The password you entered for the username demo is incorrect”

    Warm Regards,
    The 8Theme Team

    Avatar: SS
    SS
    Participant
    June 21, 2024 at 16:52

    Hi!
    Please try this credentials again.
    Thanks!

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    June 22, 2024 at 13:57

    Hello,

    We appreciate your prompt response.

    Please provide FTP access also.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Best Regards,
    8Theme’s Team

    Avatar: Justin
    Luca Rossi
    Support staff
    June 22, 2024 at 14:02

    Hi @SS,

    Please create the cart-item-data.php file under xstore-child/woocommerce/cart directory:

    
    <?php
    /**
     * Cart item data (when outputting non-flat)
     *
     * This template can be overridden by copying it to yourtheme/woocommerce/cart/cart-item-data.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://woocommerce.com/document/template-structure/
     * @package     WooCommerce\Templates
     * @version     2.4.0
     */
    if ( ! defined( 'ABSPATH' ) ) {
    	exit;
    }
    ?>
    <dl class="variation">
    	<?php foreach ( $item_data as $data ) : ?>
    		<dt class="<?php echo sanitize_html_class( 'variation-' . $data['key'] ); ?>"><?php echo wp_kses_post( $data['key'] ); ?> :</dt>
    		<dd class="<?php echo sanitize_html_class( 'variation-' . $data['key'] ); ?>"><?php echo wp_kses_post( wpautop( $data['display'] ) ); ?></dd>
    	<?php endforeach; ?>
    </dl>
    

    For more information, please take a look at this article: https://woocommerce.com/document/template-structure/.

    Hope it helps!

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.