Search found 58 matches

Search found 58 matches

wid

Re: Resetting invoice/order numbers?

i would 'TRUNCATE' 4-5 db tables from phpmyadmin

Jump to post
  • Mon Mar 26, 2018 7:49 pm
  • Replies 4
  • Views 272

wid

Re: How to load a library from another library?

$this->registry->set('Customcartfunctions', new Customcartfunctions($this->registry));
$this->Customcartfunctions->foo();

i have not tested if it works, but i believe so
reply if it works

Jump to post
  • Mon Mar 26, 2018 6:18 pm
  • Replies 2
  • Views 201

wid

Re: How to show all statuses to category pages without "out of stock"?

a better way is to change the metod public function getProducts($data = array()) from catalog/model/catalog/product.php so as not to get out of stock products in result set replace line 202 foreach ($query->rows as $result) { $product_data[$result['product_id']] = $this->getProduct($result['product_...

Jump to post
  • Fri Mar 23, 2018 4:56 pm
  • Replies 11
  • Views 835

wid

Re: How to show all statuses to category pages without "out of stock"?

it is better to show this "out of stock" products, with a label out of stock for seo reason ex. this module . a way to do it is by altering the file: catalog/controller/product/category.php after line:165 foreach ($results as $result) { add product_info = $this->model_catalog_product->getProduct($re...

Jump to post
  • Fri Mar 23, 2018 4:45 pm
  • Replies 11
  • Views 835

wid

Re: Yandex Bot

search google for this!

solution: https://yandex.com/support/webmaster/co ... ts-txt.xml
file: robots.txt

Code: Select all

User-agent: Yandex
Disallow: / # blocks access to whole site

Jump to post
  • Thu Mar 15, 2018 5:57 pm
  • Replies 5
  • Views 596

wid

Re: Division by zero in currency.php on line 141 (Despite Patch)

after you install the extention you get this error too?
line 141 is no longer in use if you install the extention you mentioned.

give the spesific line of the file from ..system/storage/modification/admin/model/localisation/currency.php

Jump to post
  • Tue Mar 13, 2018 4:40 pm
  • Replies 3
  • Views 798

wid

Re: Turning off rewardpoints?

If you don't want this product to be purchased with points leave as 0.
so if you put there reward points= zero then it disapear

Jump to post
  • Tue Mar 13, 2018 4:33 am
  • Replies 2
  • Views 248

wid

Re: Product desryption in the Category

you have to make all changes with ocmod so as you can update your oc to a new version, when you have to with no problem.

Jump to post
  • Mon Mar 12, 2018 6:45 pm
  • Replies 8
  • Views 838

wid

Re: Product desryption in the Category

from file catalog/view/theme/*/template/product/product.twig
line:315
"<p>{{ product.description }}</p>"
put it on comments
<!-- <p>{{ product.description }}</p> -->

but as i mentioned before you have to do all this changes with ocmod througth modification system
read here: ocmod

Jump to post
  • Mon Mar 12, 2018 5:03 pm
  • Replies 8
  • Views 838

wid

Re: Warning: Shipping method required! ERROR!

you did not provide the url of the site

Jump to post
  • Thu Mar 08, 2018 9:32 pm
  • Replies 2
  • Views 326

wid

Re: cant delete an option in catalog>options

do you have access to your db? if so, you can get product_ids that is assigned to it with this query SELECT * FROM oc_product_option, oc_option_description WHERE `oc_product_option`.option_id =oc_option_description.option_id AND oc_option_description.name like '%YOUR OPTION NAME OR PART OF IT%' or g...

Jump to post
  • Thu Mar 08, 2018 6:50 pm
  • Replies 1
  • Views 526

wid

Re: Strange text at top of page

oc version
and a link of your site

what have you done and this comes up?
do you install any extention?

Jump to post
  • Thu Mar 08, 2018 1:21 am
  • Replies 1
  • Views 576

wid

Re: Language Editor

1st goal from admin panel menu>catalog>information and from file catalog/language/en-gb/common/footer.php you have to translate this file and put it to your launguage folder catalog/language/ mylanguage /common/footer.php for yous 2nd goal its easy by comment <!-- foo --> whatever you want not to be...

Jump to post
  • Thu Mar 08, 2018 1:05 am
  • Replies 1
  • Views 551

wid

Re: Out of stock options.

one i found is Related Options PRO 3
but i dont know if it has performance issues
i had made one for myself, you could add many photos per color too, here is the link of the site
nostress

Jump to post
  • Wed Mar 07, 2018 5:11 pm
  • Replies 1
  • Views 322

wid

Re: Product desryption in the Category

so as to remove description you can do it with many ways one of them is to go to catalog/controler/product/category.php and add to line 362 before : $this->response->setOutput($this->load->view('product/category', $data)); $data['description'] = null ; if (isset($data['products'])) { foreach ($data[...

Jump to post
  • Wed Mar 07, 2018 2:18 am
  • Replies 8
  • Views 838

wid

Re: SQL Command for search and replace in product description and product title help

you have to create a procedure for each work

other (sloppy) way is to export sql data, find/replace to a notepad++ and import them again

Jump to post
  • Tue Mar 06, 2018 9:44 pm
  • Replies 3
  • Views 479

wid

Re: VQMod search issue.

yes, you mean something like this: <file path="catalog/view/theme/*/template/product/*.twig"> <operation> <search><![CDATA[ button_cart ]]></search> <add position="replace"><![CDATA[product.button_cart]]></add> </operation> <operation> <search><![CDATA[onclick="cart.add('{{ product.product_id }}', '...

Jump to post
  • Tue Mar 06, 2018 9:01 pm
  • Replies 15
  • Views 714

wid

Re: VQMod search issue.

try to change this lines
<search position="replace"><![CDATA[
<li>{{ text_tax }} {{ tax }}</li>
]]></search>
to
<search position="replace"><![CDATA[<li>{{ text_tax }} {{ tax }}</li>]]></search>

Jump to post
  • Tue Mar 06, 2018 8:29 pm
  • Replies 15
  • Views 714

wid

Re: VQMod search issue.

ocmod: <?xml version="1.0" encoding="utf-8"?> <modification> <name>Hide exTax for Opencart 3.x </name> <version>1.0.1</version> <code>opencart_extax</code> <author>you</author> <link></link> <file path="catalog/view/theme/*/template/product/product.twig"> <operation> <search><![CDATA[ <li>{{ text_ta...

Jump to post
  • Tue Mar 06, 2018 8:27 pm
  • Replies 15
  • Views 714

Search found 58 matches