Where Is This Code?

This topic has been marked as not resolved.

Hi,

I am using a vqmod to disallow customers to click on add to cart button more than the available stocks. (eg. if i have only 1 stock left for item A, customer can only click on add to button once)
In the last portion of the mod there is a section that modifies the template

<![CDATA[
1) { ?>
]]>
<![CDATA[

]]>

I tried changing it to /shoppica/ but it doesn’t seems to be working. Do you by any chance know where is this located?

Sorry for the number of questions I have, i sometimes wish i am as competent as you guys :(

Thanks in advance.

ps : this is Max Quantity mod

 3antz
November 1, 2011 at 1:37 pm #3085

oops the code isnt showing … please refer to attachment.

  • This reply was modified 4560 days ago by  3antz.
 3antz
November 1, 2011 at 2:23 pm #3086

Sorry, I don’t see any attachment. If you want to use php/html/javasript code in the post, just enclose it with <code> </code> tags.

November 1, 2011 at 3:52 pm #3091

Ok let’s try again …



<file name="catalog/view/theme/default/template/product/product.tpl">
        <operation>
            <search position="before"><![CDATA[
        <?php if ($minimum > 1) { ?>
            ]]></search>
            <add><![CDATA[
        <?php if ($maximum ) { ?>
        <div class="minimum"><?php echo $text_maximum; ?></div>
        <?php } ?>
            ]]></add>
        </operation>
  </file>

 3antz
November 1, 2011 at 4:13 pm #3092
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
November 3, 2011 at 10:54 am #3147
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.