Re: altered carts OnSale mod for php 7+
I don't see the badge at all on 4.7.11 on reBOOT, Light Responsive, or Ideal Responsive templates.
Can you upload a image of it? What XC version? Template? Thanks! |
Re: altered carts OnSale mod for php 7+
1 Attachment(s)
I am using Ideal Responsive template xc version 4.7.11 GoldPlus. Here is an image if my cart as a wholesale member and the badge is still there.
|
Re: altered carts OnSale mod for php 7+
Thanks for that. It helped a lot!
The badge would not show up with the Special Offer Discount I created. I had to go to your site and see exactly what your Special Offer was. Once I set up the BOGO for a product on my dev site the same as you did the Special Offer Badge showed up. In skin/ideal_responsive/customer/main/cart.tpl Around Line # 48 - Comment out the following code. Code:
{if $active_modules.Special_Offers ne "" and $product.have_offers} |
Re: altered carts OnSale mod for php 7+
could I do something like this so the badge shows up for NON members but is hidden when a customer has a membership or will that not work? (not sure if my additional code is correct)
Code:
{if $active_modules.Special_Offers ne "" and $product.have_offers and $_userinfo.membership eq ""} |
Re: altered carts OnSale mod for php 7+
Try this
Code:
{if $active_modules.Special_Offers ne "" and $product.have_offers and $userinfo.membership ne "Wholesale"} |
Re: altered carts OnSale mod for php 7+
ah, perfect, it works. I had used
Code:
$_userinfo.membership Code:
$userinfo.membership Thanks. |
Re: altered carts OnSale mod for php 7+
Glad it's working for you!
Paul |
Re: altered carts OnSale mod for php 7+
Can I just say the altered cart onsale module for xcart 4 is awesome. Even though it is no longer maintained it is essential for every new store I build.
This sort of functionality should be core in xcart. It makes the difference when comparing shopping carts. |
All times are GMT -8. The time now is 06:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.