Webocreation

Friday, April 22, 2011

Rupak Nepali Wish-list extension for the Opencart




Wish-list extension for the Opencart

Click To Download The Wishlist of Opencart 

Unzzip the file and place the file to the respective folders.
===================================

But in the product.tpl we have to kep the code by deleting the code below:

  <input type="text" name="quantity" size="3" value="<?php echo $minimum; ?>" />
                <a onclick="$('#product').submit();" id="add_to_cart" class="button"><span><?php echo $button_add_to_cart; ?></span></a>
                <?php if ($minimum > 1) { ?><br/><small><?php echo $text_minimum; ?></small><?php } ?>
              </div>
              <div>
                <input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
                <input type="hidden" name="redirect" value="<?php echo str_replace('&', '&amp;', $redirect); ?>" />               
              </div>

paste the following code:

        <input type="text" name="quantity" size="3" value="<?php echo $minimum; ?>" />    <br />    <br />
                <input name="" onClick="f1.action='index.php?route=checkout/cart'; return true;" type="image" src="catalog/view/theme/candid/image/add-tocart.png" />
                <?php if ($minimum > 1) { ?><br/><small><?php echo $text_minimum; ?></small><?php } ?>
             
          
                <input type="hidden" name="product_id" value="<?php echo $product_id; ?>" />
                <input type="hidden" name="redirect" value="<?php echo str_replace('&', '&amp;', $redirect); ?>" />               
               
               
        <input name="" onClick="f1.action='index.php?route=account/wish_list&product_id=<?php echo $product_id; ?>'; return true;" type="image" src="catalog/view/theme/candid/image/add-to-wishlist.png" />

========================================
The main theme is to give the form name="f1"

Find the below code:


<form action="<?php echo str_replace('&', '&amp;', $action); ?>" method="post" enctype="multipart/form-data" id="product">

Repalce with

 <form action="<?php echo str_replace('&', '&amp;', $action); ?>" method="post" enctype="multipart/form-data" id="product" name="f1">

=======================================

Hope that the above code workout if it doesnot comment on

http://nepalrupak.blogspot.com

Thanking You for your time to use it.

wishlist module for the opencart, wishlist component for the opencart, opencart wishlist, download wishlist for free opencart, opencart wishlist for free

10 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. Actualy, it is working but showing products twice the time. Thanks for a great extension!

    ReplyDelete
  3. At mine test it is working fine what i think is that you may have input the price of the options incorrectly. i may be wrong.

    Thanking You

    ReplyDelete
  4. Not related to language? I´ve seen coments on another wishlist "double items" as related to OC getting one item for each language.

    ReplyDelete
  5. Hi Rupak, nice extensions. WishList is built-in in the latest v1.5.0 release. Can you do something cool for the product page? Like this jQuery plugin

    http://theqdomain.com/ocstore/jcar_product

    ReplyDelete
  6. You saved my day man.. The code works cool.. This is awesome....

    ReplyDelete
  7. hey man if you know how to make open cart modules and stuff of opencart, we need you. I've an offer. Please contact psxbot@gmail.com

    ReplyDelete
  8. hi, how bout the sql? mine says
    Error: Table 'open.ewish_list' doesn't exist
    Error No: 1146
    SELECT * FROM ewish_list where product_id='28' and customer_id='1'

    ReplyDelete
  9. Wonderful Design Blogs, Such a great list. Thanks for sharing all these blogs all are very useful to every one.
    opencart development and opencart developer

    ReplyDelete