Where is this code?

This topic has been marked as not a support question.

Hi, I am using an Options Combo plugin which seems to be having difficulties locating the string below in catalog/view/theme/shoppica/template/product/product.tpl . Can you please let me know if this has been changed?

Search string :

<h2><?php echo $text_option; ?></h2>

I am trying to add some text just above the options. The feature is readily available in the plugin, just that it couldn’t locate the string above.

To better illustrate, please refer to this image
http://www.opencart.com/opencart/image/cache/data/extension/1319735891.sample3-200×200.jpg.

Thanks in advance.

  • This reply was modified 4517 days ago by  3antz.
 3antz
December 12, 2011 at 4:40 pm #4432
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
December 14, 2011 at 2:59 pm #4495

thanks for the input but unfortunately there are more items which are misising.

Is it alright if i forward you a snippet of the code for review? I really need to use this plugin.

 3antz
December 15, 2011 at 7:09 am #4506

Hi,

There shouldn’t be anything missing, but we have modified the entire OpenCart markup and maybe this is causing the problems.

I see that the extension you want to install has a vQmod installation only. You will need to ask the developer for a manual installation tutorial, so we could help you.

Generally, we do not support third party software, but we could give some hints, how to get the mods working.

Best,
ThemeBurn team

December 15, 2011 at 3:56 pm #4523

Hi,
I spoke to the dev and was told that i just need to replace two files (manual). I tried comparing with the shoppica’s version and i can’t seem to find it, can you please let me know the location of these entries?

The below are each different entries.


default tpl : catalog/view/theme/default/template/product/product.tpl

1)       <h2><?php echo $text_option; ?></h2>

2)       <?php if ($option['type'] == 'select') { ?>

3)       <?php if ($option['type'] == 'radio') { ?>

4)       <?php if ($option['type'] == 'checkbox') { ?>

5)       <div class="cart">

6)       <input type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" />

7)       echo $text_qty;

8)       for (i in json['error']) {


default tpl : catalog/view/theme/default/template/checkout/cart.tpl

1)       <td class="quantity"><input type="text"

Thanks,

 3antz
December 18, 2011 at 3:32 pm #4577

hi, can anyone help?

 3antz
December 21, 2011 at 5:18 pm #4665

These are the corresponding string in Shoppica:


shoppica tpl : catalog/view/theme/shoppica/template/product/product_options.tpl

1)       <h3><?php echo $text_option; ?></h3>

2)       <?php if ($option['type'] == 'select'): ?>

3)       <?php if ($option['type'] == 'radio'): ?>

4)       <?php if ($option['type'] == 'checkbox'): ?>


shoppica tpl : catalog/view/theme/shoppica/template/product/product.tpl

5)       <div id="product_buy" class="clearfix">

6)       <input id="product_buy_quantity" type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" />

7)       echo $text_qty;

8)       for (i in json['error']) {


shoppica tpl : catalog/view/theme/default/template/checkout/cart.tpl

1)       <td valign="middle"><input type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="3" /></td>

December 21, 2011 at 6:28 pm #4666

thanks mate, will test it out. appreciate your speedy response.

 3antz
December 21, 2011 at 6:39 pm #4667
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.