Shoppica2 and Live Price Update with options mod

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeShoppica2 and Live Price Update with options mod

This topic has been marked as not resolved.

Hi themeburn,

In Opencart Extensions there are some sweat and useful mods like this Live Price Update with Options and it would be a shame not to be compatible with Shoppica2.

This mod uses Ajax to change in real time the price according to the product options.

It’s not working yet but it’s just missing a bit of code to make it work.
That’s why I need your help because I’m no coder.

So, default OC Theme, in product.tplĀ uses:

<?php echo $price; ?>

But Shoppica2 uses something else and this “something” is what I need…

Here goes the Xml code:

<?xml version="1.0" encoding="UTF-8"?>
<modification>
  <id>Live Price Update with Options</id>
  <version>2.0.9</version>
  <vqmver>2.2.1</vqmver>
  <author>cmd</author>
  <file name="catalog/view/theme/*/template/product/product.tpl">        
    <operation>
      <search position="replace"><![CDATA[<?php echo $price; ?>]]></search>
      <add><![CDATA[<span id="price_container"><?php echo $price; ?></span>
    <script type="text/javascript" src="index.php?route=product/ajaxoptions/js&product_id=<?php echo $product_id; ?>"></script>]]></add>
    </operation>
  </file>
</modification>

 Jose
March 28, 2014 at 2:04 pm #31253

Hello, i just had a look in product.tpl and there is a echo $tbData->priceFormat($price);
i guess that’s it ?
i’ll try your vqmod extension it looks nice ! :)

March 28, 2014 at 2:47 pm #31258

Hi StudioLeBus,

Needless to say I’m not the author.

This extension is followed by a javascript.
You won’t be able to use it until you install the scripts together with the vQmod xml, ok?

Here is the extension author so you can test it:
http://www.opencart.com/index.php?route=extension/extension/info&extension_id=14760

If you find the solution please let me know.

See you,

Jose

 Jose
March 29, 2014 at 1:32 am #31279

Hi,

Here is an extension, we’ve made compatible with Shoppica, that does the same job:

http://support.themeburn.com/topic/product-price-with-options-adaptation-for-shoppica

BR,
ThemeBurn team

April 7, 2014 at 5:55 pm #31398

Woow. I’m really happy!!!
Yes it does the same. Thank you.

Nevertheless, I think the first mod uses ajax which makes it a lot prettier.
If you could give some hints I would make it work though I’m no coder.
It’s just a suggestion don’t feel forced to do it because you are obviously not.

Thanks again
Jose

  • This reply was modified 3673 days ago by  Jose.
 Jose
April 7, 2014 at 7:17 pm #31409

Hi Jose,

Both plugins use AJAX :)

There is no other way to change the price without reloading the entire page.

Best,
ThemeBurn team

April 11, 2014 at 10:10 am #31440
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.