#.abishek

1 messages · Page 1 of 1 (latest)

violet solsticeBOT
opal frost
fathom veldt
#

ok

#

is it possible to hide product descriptions on the checkout page?

opal frost
#

Which description are you referring to? Can you send a screenshot of which text you're talking about?

pliant tendon
fathom veldt
#

just fyi, i am using price_data.product when adding line_items

pliant tendon
opal frost
#

If this is on checkout, I think the only way to hide the description would be to not include one when creating the products

fathom veldt
pliant tendon
#

Shopify:

Go to your Shopify admin dashboard.
Navigate to "Online Store" > "Themes".
Click on "Actions" and select "Edit code" for the theme you want to modify.
Locate and open the "checkout.liquid" or "cart.liquid" file in the "Templates" folder.
Find the section of code responsible for displaying the product description and comment it out or remove it.
Save the changes and preview the checkout page to ensure the product descriptions are hidden.
WooCommerce (WordPress):

Log in to your WordPress admin dashboard.
Navigate to "Appearance" > "Theme Editor".
Open the "checkout" template file (usually "checkout/form-checkout.php").
Locate the code responsible for displaying the product description and comment it out or remove it.
Save the changes and preview the checkout page to ensure the product descriptions are hidden.
Magento:

Access your Magento admin panel.
Go to "Content" > "Design" > "Configuration".
Select the store view you want to modify.
Under "Other Settings", open the "HTML Head" section.
Insert the following code in the "Scripts and Style Sheets" field to hide the product description:
<style>
.checkout-product-name { display: none; }
</style>

#

// Find the product description element on the checkout page
var productDescription = document.getElementById('product-description');

// Hide the product description
productDescription.style.display = 'none';

opal frost
#

@fathom veldt are you using Shopify? I assumed you were using Stripe Checkout.

pliant tendon
opal frost
#

Got it. Are you generating Checkout Sessions through them? Or are you creating Checkout Sessions at all? Like, what product(s) of Stripe's are you using in that screenshot you sent?

fathom veldt
#

i am using stripe checkout

pliant tendon
fathom veldt
#

i didn't know Shopify allowed Stripe Checkout, Stripe isn't even a payment provider on Shopify

#

since they use Stripe for their shopify payments, Stripe isn't a provider that you can setup on Shopify

pliant tendon
# fathom veldt since they use Stripe for their shopify payments, Stripe isn't a provider that y...

No, it is not possible to directly hide product descriptions on the Stripe Checkout page. The Stripe Checkout page is a hosted payment page provided by Stripe, and its customization options are limited.

When using Stripe Checkout, the product information, including descriptions, is passed from your website or application to Stripe, and then displayed on the Stripe Checkout page. As the Stripe Checkout page is hosted by Stripe, you do not have direct control over its appearance or customization.

#

If you need to hide product descriptions on the checkout page, you may need to consider building a custom checkout page using Stripe's API or integrating a different payment solution that provides more customization options for the checkout page.

#

Are you there @fathom veldt ?

fathom veldt
#

nah, i will stick to Stripe Checkout, it has more advantages that any other payment provider that I know of when it comes to different checkout options, doesn't matter if I can't hide descriptions

#

the amount of time it would take to do something custom that stripe already supports is going to take months. Its just a minor detail and I can live with it.

pliant tendon
pliant tendon
fathom veldt
#

no, i am good. thank you