SSR-1184 Payment Page Cart Bug Fixes

Fixed Cart not showing for after pay
Added Cart Header to payment page
Added <hr> tags around the cart like FMG payment page
Moved cart above back button like FMG payment page
This commit is contained in:
Josh Dassinger 2024-04-22 13:48:14 -05:00
parent 39a1ec1416
commit b4e76cf734

View file

@ -37,6 +37,17 @@
</iframe> </iframe>
</div> </div>
<div v-if="isCreditCard || isAfterPay" class="px-2">
<hr class="my-0">
<cartDropdown
:readOnly="true"
:showDropdownHeader="true"
:isInitiallyExpanded="true"
recyclingModalCmsWidgetName="RecycleModal"
servicePackageTitleWidgetName="ServicePackageTitle" />
<hr class="my-0">
</div>
<siteFooter <siteFooter
ref="siteFooter" ref="siteFooter"
cmsWidgetName="SiteFooterWidget" cmsWidgetName="SiteFooterWidget"
@ -44,15 +55,6 @@
:isForwardButtonHidden="true" :isForwardButtonHidden="true"
@ForwardClicked="forwardButtonAction" @ForwardClicked="forwardButtonAction"
@backClicked="backButtonAction" /> @backClicked="backButtonAction" />
<div v-if="isCreditCard" class="px-2">
<cartDropdown
:readOnly="true"
:showDropdownHeader="false"
:isInitiallyExpanded="true"
recyclingModalCmsWidgetName="RecycleModal"
servicePackageTitleWidgetName="ServicePackageTitle" />
</div>
</div> </div>
</div> </div>
<div <div
@ -375,6 +377,9 @@ export default {
isCreditCard() { isCreditCard() {
return this.paymentType === hopPaymentMethods.CREDIT_CARD; return this.paymentType === hopPaymentMethods.CREDIT_CARD;
}, },
isAfterPay() {
return this.paymentType === hopPaymentMethods.AFTERPAY;
},
displayPayInAdvanceCreditCardAlert() { displayPayInAdvanceCreditCardAlert() {
return this.displayPayInAdvanceAlert(paymentMethods.CREDIT_CARD); return this.displayPayInAdvanceAlert(paymentMethods.CREDIT_CARD);
}, },