Mina
Forum Replies Created
-
Use img html tag in Toggle Element title/description field. i.e
Look at the screenshot
https://ibb.co/y4rK24R??
Hi,
You can add following CSS to specific Elementor Image element – Advance CSS section. This will hide that image on smartphone but not on tablets or desktop.
@media (max-width:767px)
{
selector img
{
display:none;
}
}Forum: Plugins
In reply to: [WooCommerce] How to fix product image sizesHi Bob,
Noted.
Replace this:
.featured-detail {
float: left;
padding: 0;
margin: 38px 0 0 0;
list-style: none;}
to
.featured-detail {
float: left;
padding: 0;
margin: 38px 0 0 0;
list-style: none;
width: 100% !important;
}And —————————-
Replace this:
.featured-detail li {
float: left;
}to
featured-detail li {
float: left;
width: 33.3333%;
margin: 0px !important;
padding: 0px !important;
}Thanks!
MinaForum: Plugins
In reply to: [WooCommerce] View cart page option changeHi Bini,
Please share the screenshot where you are adding the CSS. It must work.
Thanks!
MinaForum: Plugins
In reply to: [WooCommerce] Woocommerce breadcrumbsThat’s Great! ??
Forum: Plugins
In reply to: [WooCommerce] Force remove bullets from product listHi Matthias,
That’s great. Glad to know that.
Mina
Forum: Plugins
In reply to: [WooCommerce] Woocommerce breadcrumbsHi,
There are two possible options:
Option 1:
Use redirection plugin:Redirect standard page https://justbewell.info/product-category/supplements/sleep/ to custom page link
Option 2:
Add custom code in template file templates\single-product\meta.php to replace category links to your custom pages.Forum: Plugins
In reply to: [WooCommerce] View cart page option changeHi,
Use this CSS
.woocommerce-cart .wcppec-checkout-buttons.woo_pp_cart_buttons_div
{
display: none !important;
}Forum: Plugins
In reply to: [WooCommerce] Force remove bullets from product listRemove the CSS you have added.
Instead use this:
.brz .productslisting .brz-rich-text > * {
white-space: nowrap !important;
}Hi,
You need to make changes in template file for this.
templates\checkout\form-pay.php
Replace
echo apply_filters( ‘woocommerce_pay_order_button_html’, ‘<button type=”submit” class=”button alt” id=”place_order” value=”‘ . esc_attr( $order_button_text ) . ‘” data-value=”‘ . esc_attr( $order_button_text ) . ‘”>’ . esc_html( $order_button_text ) . ‘</button>’ );
with:
<?php
// Check is payment gateway available.
if ( ! empty( $available_gateways ) ) {
echo apply_filters( ‘woocommerce_pay_order_button_html’, ‘<button type=”submit” class=”button alt” id=”place_order” value=”‘ . esc_attr( $order_button_text ) . ‘” data-value=”‘ . esc_attr( $order_button_text ) . ‘”>’ . esc_html( $order_button_text ) . ‘</button>’ );
}
?>Check how to override templates in child theme
https://docs.woocommerce.com/document/template-structure/Forum: Plugins
In reply to: [WooCommerce] Help with implementing PHP codeGreat!! ??
Forum: Plugins
In reply to: [WooCommerce] Help with implementing PHP codeYes it will go in functions.php file.
There is no comma after $url statement.
IT should be $url = ‘https://website.com/upsell/’;
————-
add_action( ‘woocommerce_thankyou’, ‘pbs_redirect_to_custom_thank_you’);function pbs_redirect_to_custom_thank_you( $order_id ){
$order = wc_get_order( $order_id );if ( ! $order->has_status( ‘failed’ ) ) {
$url = ‘https://website.com/upsell/’;
wp_redirect( $url.’?id=’.$order_id );
exit;
}}
Forum: Plugins
In reply to: [WooCommerce] How to fix product image sizesHi,
It is due to CSS. Remove – “width: 33.3333%” form this.
.featured-detail li {
float: left;
padding: 0 0 0 14px;
/*width: 33.3333%;*/
}CSS file: vhttps://woodboxsoap.com/wp-content/themes/child-store2/assets/css/custom.css?ver=5.4.1
Forum: Plugins
In reply to: [WooCommerce] Help with implementing PHP codeHi,
You should try something like this:
add_action( ‘woocommerce_thankyou’, ‘pbs_redirect_to_custom_thank_you’);
function pbs_redirect_to_custom_thank_you( $order_id ){
$order = wc_get_order( $order_id );if ( ! $order->has_status( ‘failed’ ) ) {
$url = // Upsell page URL.
wp_redirect( $url.”?id=”.$order_id );
exit;
}}