Jump to content

 

robb@aquarianaudio.com

Member Since 20 Jan 2011
Offline Last Active Jun 06 2018 11:34 PM
-----

Topics I've Started

Smarty Help For Document Editing

14 April 2017 - 05:35 AM

Can anyone help me with syntax for hiding the tax line from my order summary document when no tax is charged?

 

<td style="padding-bottom: 20px; text-transform: uppercase; font-family: Helvetica, Arial, sans-serif;" align="left">{% if o.tax_total %} {{o.tax_name}} {% endif %}</td>
<td style="font-family: Helvetica, Arial, sans-serif;" align="right">{% if o.tax_total %} {{o.tax_total}} {% endif %}</td>

 

in the example above, I tried to use the "if" statements that were used for the discount lines below. I did not expect it to work because there is always a value in that data field. But I've tried using a statement such as "{% if o.tax_total != '$0.00'%}" and it doesn't work. I've never tried programming PHP or Smarty code and don't know anything other that what is quickly referenced on the Web. I assume this is a simple syntax thing. Any help will be appreciated.


Registration Email

03 March 2017 - 06:20 PM

I am having a problem with registration spoofing in my CS-cart 2.4 store. At present, it is 20 to 30 registrations per day, but that number seems to be growing and I am trying to shut down this problem until we can get our upgraded store completed--projected to be one month.

 

How can I stop CS-Cart from sending emails when a customer registers or updates his profile?

 

We are using Image verification and I have tried to add characters and background, but it did not slow anything down.

 

Shutting down emails is obviously a poor fix, but as I understand it, the modules for installing Google ReCaptcha will are not built for this old version. Can ReCaptcha easily be made to work? Any other suggestions for stopping this registration spoofing?