Home › Forums › WoodMart support forum › Change the line color in the price button
Change the line color in the price button
- This topic has 13 replies, 4 voices, and was last updated 2 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
March 5, 2022 at 6:24 pm #357676
alahoonkParticipantHello
Change the line color in the price button
I need to change the color to white, the price is in this button
https://msabe7.com/m/product/%d9%85%d8%b3%d8%a7%d8%a8%d9%8a%d8%ad/
Using the WooCommerce Simple Auction plugin
I am waiting for a solution, thank you
Attachments:
You must be logged in to view attached files.March 5, 2022 at 7:08 pm #357683
Elise NoromitMemberHello,
Thank you very much for choosing our theme and for contacting us.
Please add this code to the Theme Settings > Custom CSS > Global:
.product-image-summary .single_add_to_cart_button .amount bdi{ color:white; padding:10px; }
Best Regards
March 8, 2022 at 9:45 am #358651
alahoonkParticipantHello
I also have two problems
increments 2
Should be increased by 1 .
Disabled and tried another theme that solved the problem
A problem with a theme that bids 2Also a problem that the page does not update after increasing
AJAX is disabled same problemcheck auction web
https://msabe7.com/m/product/product-auction/I am waiting for a solution, thank you
- This reply was modified 2 years, 9 months ago by alahoonk.
March 8, 2022 at 10:04 am #358662
alahoonkParticipantHello
problem solved
Problem refreshing the page after increasing
Disable AJAX Add to cart———–
the rest of the problem
Increase the number 2 price
Supposed to increase 1
It only increments an even numberhttps://msabe7.com/m/product/product-auction/
I am waiting for a solution to the problem, thank you
March 8, 2022 at 11:32 am #358691
Bogdan DonovanKeymasterHello,
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?
Regards
March 8, 2022 at 4:34 pm #358829
alahoonkParticipantHello,
TwentyTwenty = Works fine increment number 1 bid
Storefront = Works fine increment number 1 bidWoodmart = The problem of increasing the number 2 bid
I am waiting for a solution, thank you
March 9, 2022 at 9:25 am #359059
Bogdan DonovanKeymasterPlease, provide us your admin access so we can log in and check this on your side.
Thank you in advance.
March 9, 2022 at 10:23 am #359106
alahoonkParticipantHello,
I hope to find a problem and solve it and tell me where the problem is and what is the solution
Tell me where there is a problem and tell me what is the solution, if I encounter a problem again, I can solve it myself
Awaiting your reply, thank you
March 9, 2022 at 12:43 pm #359164
Artem TemosKeymasterThe problem is that your custom plugin adds a similar script as in our theme that increases and decreases the value on +- click. And two scripts work at the same time. We can disable our theme’s script if you want. But in this case, our functionality will be disabled completely on all products and work only in places where the plugin loads its script. Otherwise, you can contact plugin developers for help and disable their scripts.
March 9, 2022 at 1:52 pm #359201
alahoonkParticipantHello,,
Where is the problem and where is the solution at least?
I know a problem between the plugin program and the theme
I would like to solve a problem
Awaiting your reply, thanks
March 9, 2022 at 2:52 pm #359214
alahoonkParticipantHello
I found the solution and it was changed, but there is a problem with the theme for you, an increase in a double number
step=”<?php echo ($product->get_increase_bid_value()) ? $product->get_increase_bid_value() : ‘3’ ?>”
Example you increased 3, he put 6
check bid to 6
Supposed 3
https://msabe7.com/m/product/decoration-wooden-present/I tried setting 0, can not be increased
The problem with the theme is double increase
The problem is from the theme, not from the plugin
Most of the themes have been tried without problemsLogin has been sent again
—————————-
How to increase bid step for bid increment value to be more than 1? Bidding increment is done so you can bid in increments of 1, because otherwise if you set bid step of say 5, you would be able to bid 5, 10, 15… instead you can bid 7, 13, 22, etc. If you insist on different behaviour, you need to edit template woocommerce-simple-auctions\templates\single-product\auction-bid-form.php line 50 and change:
step=”any”becomes
step=”<?php echo ($product->get_increase_bid_value()) ? $product->get_increase_bid_value() : ‘1’ ?>”
https://wpgenie.org/woocommerce-simple-auctions/documentation/
March 9, 2022 at 3:15 pm #359236
Artem TemosKeymasterYes, we see the problem and already described why it happens. The problem is that your custom plugin adds a similar script as in our theme that increases and decreases the value on +- click. And two scripts work at the same time causing double increase/decrease. We can disable our theme’s script if you want. But in this case, our functionality will be disabled completely on all products and work only in places where the plugin loads its script. Otherwise, you can contact plugin developers for help and disable their scripts.
March 11, 2022 at 12:27 pm #359910
alahoonkParticipantHello
Problem solved on my part
plugins woocommerce simple auctions
/wp-content/plugins/woocommerce-simple-auctions/js/
file:
simple-auction-frontend.js line 119$(‘.auction_form .qty’).autoNumeric(‘update’);
delete one of them
.auction_form or .qtyExample:
$(‘.qty’).autoNumeric(‘update’);
or
$(‘.auction_form’).autoNumeric(‘update’);Thank you all
- This reply was modified 2 years, 9 months ago by alahoonk.
March 11, 2022 at 3:22 pm #359976
Artem TemosKeymasterWe are glad that you sorted it out. Let me know if you need any further assistance.
Have a nice day!
-
AuthorPosts
The topic ‘Change the line color in the price button’ is closed to new replies.
- You must be logged in to create new topics. Login / Register