Hi I need to know how This website put the Snippet or code in his product page

dr.talal

New member
Nov 1, 2020
11
1
3
Hi I need to know how This website put the Snippet or code in his product page
what is the plugin name please help
i want to install it to my website too
Looking for Cash on Delivery / Bank Transfer Plugin That is showing amount with discount to payment gateway method


Developers please help i am noob


Captureyyy.JPG

 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
I think they may have custom coded the discounts based on payment method and adjusted the single product template to display it as they do.

There are several plug-ins for "woocommerce discount based on payment method" and with a bit of coding in the template and some CSS you can get the same result.
 
  • Like
Reactions: dr.talal

dr.talal

New member
Nov 1, 2020
11
1
3
I think they may have custom coded the discounts based on payment method and adjusted the single product template to display it as they do.

There are several plug-ins for "woocommerce discount based on payment method" and with a bit of coding in the template and some CSS you can get the same result.


Thank you for Your Response Fizzel.. Yes i am aware of discount based on payment method plugins i have tried many.. but as you can see the front end of this is beyond that its also showing You pay .. and you save etc


have a look at this site too contain same thing..

Please Help
 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
Yeah, that second website uses almost the same CSS as the first one, seems like a custom solution that maybe was copied.

"You pay... you save" can be easily achieved with some calculations in PHP. That's not difficult at all. I would even more appreciate it if those figures were interactively updated, e.g. when the quantity changes. That's also not difficult to do.
 

dr.talal

New member
Nov 1, 2020
11
1
3
joepremium
Brother i solved it from your help.... Thank you I wish you get what you really want in your life Ameen.

Still struggling with Responsiveness of my CSS Design not showing cards properly while checking on mobile or small screens


 

frizzel

Well-known member
Trusted Uploader
Jun 13, 2019
485
253
63
Wherever my imagination takes me
Well, it already starts with the fact that these 3 columns all have a class of 'col-sm-5' which is wrong as the total should never exceed 12. So change that into 'col-sm-4'. Then remove the padding-left and padding-right on these columns (which at the moment is 15px for both left and right) or set it at a low 1px.

That makes it a little better, although far from perfect. I would completely custom code this, as I think these columns look terrible on any screen, but that's just my opinion.
 

Forum statistics

Threads
69,229
Messages
908,458
Members
237,126
Latest member
skzh6210

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu