Theme Sport & Stripe Plugin

Monday, November 25, 2024 1:22:18 PM
  • Posted: Friday, October 23, 2020 6:27 AM
  • 23
I have found some issue into Sport Theme:

Modification in the theme plugin:
Sport/Views/Catalog/ManufacturerTemplate.ProductsInGridOrLines.cshtml L.53
change _CatalogSelectorsSideBar to _CatalogSelectorsSidebar because on digitalocean this is not working due to the casse.

Sport/Views/Checkout/Confirm.cshtml L.87
Change the class name to go to the next step with "confirm-order-next-step-button", this is currently using "new-address-next-step-button' class, so two button are display and the interact with payment plugin is not working

Modification in the Stripe plugin:
Views/PaymentInfoMultiCheckout.cshtml L.34&49
this selector use "input.payment-info-next-step-button" but in the theme the element is a button so I have update the code by replacing by $('.payment-info-next-step-button').
By the way on ligne 92 you could replace the value of the input by value="@T("Checkout.NextButton")"

Views/ConfirmOrderMultiCheckout.cshtml L.44&66
Same thing, as before, I have use selector $('.confirm-order-next-step-button'). instead of using input

I hope this could help



0
  • Posted: Friday, October 23, 2020 7:11 AM
  • 953
Hi Cedric,

Thank you very much for your suggestions. In the case of the Stripe plugin, it has to be modified on each theme I suppose. It was designed for DefaultClean by default. However, if it's applicable for the default version also, we will implement it, thanks!
Best regards,
Patryk

GrandNode Team
0
  • Posted: Friday, October 23, 2020 7:15 AM
  • 23
My fix is clearly not the best way to use a class as selector to simulate click on the button.

Your tech team could create a specific id used for all theme for sure ;)
1
back to top
Filters