News:

Looking for documentation? Take a look on our wiki

Main Menu

No coupon field during checkout

Started by ralfeez, April 25, 2015, 16:27:48 PM

Previous topic - Next topic

ralfeez

VM2.6.18 and J2.5.28 - My coupon box does not even show up. Any help is appreciated and Yes it is checked in the configuration settings and I tried AWOCoupons but it did not make a difference. See http://screencast.com/t/zL1dSpsF
Thank you,
Ralph

ralfeez


ralfeez

If you could point me to the code that is supposed to display the coupon field, then I will try to trace it back. This is a live website, so I am trying to do as little damage as possible while solving the issue.
Thank you,
Ralph

ralfeez

There are two coupons currently installed, http://screencast.com/t/g8VFKQsNR9
Any suggestions will help. Where should I look first? How would you troubleshoot this?
Thank you for anything that you suggest,
Ralph

ralfeez

Okay I just did some more testing. This is a Yootheme template, but I am not seeing any jQuery conflict notifications. I did try jQueryEasy and it did not make a difference. I also tried various browsers IE, Firefox, Chrome and made no difference. Any suggestions? I can't change the template on this live website, but that will be the next step when I can create a test version.
Ralph

ralfeez

Could someone please attach a screenshot of a working website and the one page checkout where the coupon box is supposed to be in VM2. I am not finding it in the code anywhere.
Thank you,
Ralph

ralfeez

Okay I have over 75 views of this subject and not one response. Does anyone have this setup currently working? If so, please just let me know. I would love to see it.
thank you,
Ralph

GJC Web Design

#7
can only be your template.. u get no answers because no one has this problem

if you want to see a clean and up to date J2.5.28/VM2.6.18 with no template over rides of vm->  http://www.gjcwebdesign.com/vm2t1

could also be only u and me are the only two sado's web working on a Saturday night..  ;)

My excuse is my white disco suit is at the cleaners.. what's yours?  ;)
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ralfeez

I have a customer screaming into the phone every 15 minutes.... ugh.... ;)

GJC Web Design

the std tmpl. code for the coupon is  components\com_virtuemart\views\cart\tmpl\default_pricelist.php

compare what in your template - as you can see it uses a sub template default_coupon.php

<?php
if (VmConfig::get ('coupons_enable')) {
?>

<tr class="sectiontableentry2">
<td colspan="4" align="left">
<?php if (!empty($this->layoutName) && $this->layoutName == 'default') {

echo $this->loadTemplate ('coupon');
}
?>


<?php if (!empty($this->cart->cartData['couponCode'])) { ?>
<?php
echo 
$this->cart->cartData['couponCode'];
echo $this->cart->cartData['couponDescr'] ? (' (' $this->cart->cartData['couponDescr'] . ')') : '';
?>


</td>

<?php if (VmConfig::get ('show_tax')) { ?>
<td align="right"><?php echo $this->currencyDisplay->createPriceDiv ('couponTax'''$this->cart->pricesUnformatted['couponTax'], FALSE); ?> </td>
<?php ?>
<td align="right"> </td>
<td align="right"><?php echo $this->currencyDisplay->createPriceDiv ('salesPriceCoupon'''$this->cart->pricesUnformatted['salesPriceCoupon'], FALSE); ?> </td>
<?php } else { ?>
</td><td colspan="3" align="left">&nbsp;</td>
<?php
}

?>

</tr>
<?php ?>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

ralfeez

Thank you. It helps a lot just to see a working website. The one that I am working on works perfectly except for the coupon field. It has been working for quite a while now.
Thank you again

Huntchuks

Any luck with this? I have the same problem, no coupon box anymore. Joomla 2.5.28 and VirtueMart 2.6.12.2. I know, old stuff but I need a plugin to be able to move to Joomla 3x and the developer seems to have stopped support.

jenkinhill

Using default VM template or third party? It really has to be a template problem.

It does not take too much work to update plugins for VM3. http://docs.virtuemart.net/tutorials/development/175-code-adjustments-for-virtuemart-3.html
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Huntchuks

Unfortunately I have not been using anything but the Joomla YooTheme template and if I change it to Default it makes no difference. It has been working ok till a couple of months ago. Updating the DigiToll plugin is not something easily done as your link suggests and I believe that is why the developer stopped supporting it, there was discussions in the forum about VirtueMart updates breaking his code.