Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: Problem with Cart template!!! please quick support

Problem with Cart template!!! please quick support 8 years 2 months ago #13696

I bought your template once again yesterday after one year....

I have joomla 3.4.8 and VM 3.0.12

and from yesterday CleanMart version 3.9.1


Problem in Cart

1, problem: I dont want use Discount Coupon Code! I dont want to show this, but i try switch off this settings in VM but without change
2, I don see Login, Guest and register option(see attachement please) - instead I have there button to change adress and add adress

please help me, I have this eshop as live service, and my custommers Cant buy products from my eshop

all settings are shown in attachements


hope quick support
Attachments:
The administrator has disabled public write access.

Problem with Cart template!!! please quick support 8 years 2 months ago #13706

Hi,

1- Open this PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/cart/default_pricelist.php

find these lines (lines from #252 to #265):
 <br/><br/>
 <div id="flexibleStepBar">
	<span class="flexibleStepBarRed">4</span>
    <span class="flexibleStepBarBlue"><?php echo JTEXT::_('TPL_FLEXIBLE_DISCOUNT_OPTIONAL');?></span>
</div>
	<div class="checkout-content noMargin couponStep">
        <input type="text" name="coupon_code" size="20" maxlength="50" class="flexibleCouponInput" autocomplete="off" placeholder="<?php echo (empty($this->cart->cartData['couponCode'])) ? JTEXT::_('TPL_FLEXIBLE_APPLY_ENTER_COUPON_CODE') : $this->cart->cartData['couponCode'];?>" value="<?php echo (empty($this->cart->cartData['couponCode'])) ? "" : $this->cart->cartData['couponCode'];?>"><br/>                
        <input class="flexibleButton" type="submit" name="setcoupon" title="Save" value="<?php echo (empty($this->cart->cartData['couponCode'])) ? JTEXT::_('TPL_FLEXIBLE_APPLY_DISCOUNT_CODE') : JTEXT::_('TPL_FLEXIBLE_APPLY_ANOTHER_DICSOUNT_CODE');?>" >  
    </div>
 <div id="flexibleStepBar" class="flexibleStepBarRight">
	<span class="flexibleStepBarRed turnGreen"><?php echo ($this->cart->pricesUnformatted['salesPriceCoupon']) ? $this->currencyDisplay->createPriceDiv('salesPriceCoupon','', $this->cart->pricesUnformatted['salesPriceCoupon'],true) : VmModel::getModel('currency')->getCurrency()->currency_symbol.'0.00'; ?></span>
 
    <span class="flexibleStepBarBlue"><?php echo JTEXT::_('TPL_FLEXIBLE_DISCOUNT');?></span>
</div>

replace them with this:
<?php if (VmConfig::get ('coupons_enable')) { ?>
 
<br/><br/>
 <div id="flexibleStepBar">
	<span class="flexibleStepBarRed">4</span>
    <span class="flexibleStepBarBlue"><?php echo JTEXT::_('TPL_FLEXIBLE_DISCOUNT_OPTIONAL');?></span>
</div>
	<div class="checkout-content noMargin couponStep">
        <input type="text" name="coupon_code" size="20" maxlength="50" class="flexibleCouponInput" autocomplete="off" placeholder="<?php echo (empty($this->cart->cartData['couponCode'])) ? JTEXT::_('TPL_FLEXIBLE_APPLY_ENTER_COUPON_CODE') : $this->cart->cartData['couponCode'];?>" value="<?php echo (empty($this->cart->cartData['couponCode'])) ? "" : $this->cart->cartData['couponCode'];?>"><br/>                
        <input class="flexibleButton" type="submit" name="setcoupon" title="Save" value="<?php echo (empty($this->cart->cartData['couponCode'])) ? JTEXT::_('TPL_FLEXIBLE_APPLY_DISCOUNT_CODE') : JTEXT::_('TPL_FLEXIBLE_APPLY_ANOTHER_DICSOUNT_CODE');?>" >  
    </div>
 <div id="flexibleStepBar" class="flexibleStepBarRight">
	<span class="flexibleStepBarRed turnGreen"><?php echo ($this->cart->pricesUnformatted['salesPriceCoupon']) ? $this->currencyDisplay->createPriceDiv('salesPriceCoupon','', $this->cart->pricesUnformatted['salesPriceCoupon'],true) : VmModel::getModel('currency')->getCurrency()->currency_symbol.'0.00'; ?></span>
 
    <span class="flexibleStepBarBlue"><?php echo JTEXT::_('TPL_FLEXIBLE_DISCOUNT');?></span>
</div>
 
<?php } ?>

If the Coupon Feature is disabled from VM Configurations, then the coupon-bar gets disappeared from the shopping cart page. (FYI: This patch will be added permanently to the CleanMart v3.9.3 -- the upcoming version)

2- From the VM configuration >> Checkout (1st screenshot), enable this option: On checkout, ask for registration (pocas objednavky vyžaduje registraciu) then you will get the "Login / Register" bar on cart.

regards.
Support
Last Edit: 8 years 2 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.143 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo