dusko1
Forum Replies Created
-
can i send you temporary acces to our site?
no, i didnt…
Hi,
- I am using this plugin for discounts: https://support.rightpress.net/hc/en-us/categories/200133263-WooCommerce-Dynamic-Pricing-Discounts
- I am using this plugin for card payments: WooCommerce Braintree Payment Gateway
- I am not using any plugin for custom invoices, we create them using a program outside WooCommerce
I am sending you a link to a product. Please try to order, for example 500 calendars and during checkout, choose card payment. Try entering your card details but do not confirm, of course, and you will see the price change.
Link to the product:
https://delta-kom.net/promo/izdelek/koledar-gasilski-7-listni-spirala-obesanka-a3-model-3/Forum: Themes and Templates
In reply to: [Storefront] Image logo sidebar widgethi, i have product attribute ¨Brand¨, and in widget sort by product attribute Brand, showing as List. I know it could be done by plugin to show attributes as image, but i dont want to install additional plugins. As i learned throug years they slow down your site… Used many themes and plugins but then i had bad ranking in google webmaster tools and page speed insight. Using storefront theme our sites are really much more faster…
So i thought if maybe with some code this could be done…
thanksForum: Themes and Templates
In reply to: [Storefront] Button ¨Show all¨ on product category pageno, it doesnt work… ??
Forum: Themes and Templates
In reply to: [Storefront] Button ¨Show all¨ on product category pagewhen in chrome open button in new tab it shows all products…
Forum: Themes and Templates
In reply to: [Storefront] Button ¨Show all¨ on product category pageDoesn work on my site… Button Showw all disappear when clickin, but all products are not shown…
it should show all products from 3 subcategories…
Forum: Themes and Templates
In reply to: [Storefront] Button ¨Show all¨ on product category pageHi again.
i want to show button on specific main category. Not on shop page or home page.
i tried the code attached. It show “Show all” but it happens nothing, it doesnt show then all products in specific category…i used this code:
/**
* This will add a ‘Show All’ link after the pagination on the shop pages.
* It will be hidden once it is activated.
*/
add_action( ‘woocommerce_after_shop_loop’, ‘wpse333192_add_showall’, 40 );function wpse333192_add_showall() {
if ( ! isset( $_GET[‘showall’] ) ) {
global $wp;echo sprintf(
“%s“,
home_url( add_query_arg( array_merge( $_GET, [ ‘showall’ => 1 ] ), $wp->request ) ),
__( ‘Show All’, ‘text-domain’ )
);
}}
/**
* This will alter the main product query if ‘showall’ is activated
*/
add_action( ‘pre_get_posts’, ‘wpse333192_alter_query_showall’ );function wpse333192_alter_query_showall( $query ) {
/**
* Alter the query only if it is:
* 1. The main query
* 2. Post type is product
* 3. $_GET[‘showall’] is set
* 4. $_GET[‘showall’] equals 1
*/
if ( $query->is_main_query()
&& $query->get( ‘post_type’ ) == ‘product’
&& isset( $_GET[‘showall’] )
&& $_GET[‘showall’] == 1
) {
// Load the ‘first’ page
$query->set( ‘paged’, 1 );// Set post per page to unlimited
$query->set( ‘posts_per_page’, – 1 );
}return $query;
}