Search found 863 matches

Search found 863 matches

Re: Do not write option prices in the price section

Hi

Do you mean the "Live Price" method when selecting options in the product page? Something like this?:
https://digitcart.ir/demo/oc/en/3020/2/ ... duct_id=41

Jump to post
  • Mon Mar 13, 2023 11:07 pm
  • Replies 7
  • Views 328
Re: New Products on Homepage

Hi
Yes, There is an extension by default called "Latest", You need to enable it and assign it to the Home layout.

Jump to post
  • Tue Feb 07, 2023 9:05 pm
  • Replies 3
  • Views 532
Re: Product Stock Status

Hi
This extension can do that, Please try its demo:
https://www.opencart.com/index.php?rout ... n_id=38198

Jump to post
  • Mon Jan 09, 2023 3:16 pm
  • Replies 9
  • Views 688
Re: Implement addProduct/editProduct event in custom module OpenCart V4.

Hi Try: $this->model_setting_event->addEvent([ 'code' => 'xxx', 'description' => 'xxx', 'trigger' => 'admin/model/catalog/product/addProduct/after', 'action' => 'xxx', 'status' => true, 'sort_order' => 0 ]); public function addProduct(string $route = '', array $data = [], int $product_id = 0): void ...

Jump to post
  • Thu Dec 15, 2022 12:35 am
  • Replies 1
  • Views 276
Re: set length of a for loop element

Hi
You better limit this in the controller level, But if you want to do this in twig file, You need to use loop.index:
https://twig.symfony.com/doc/2.x/tags/for.html

Jump to post
  • Tue Nov 29, 2022 2:32 pm
  • Replies 3
  • Views 399
Re: Filter by specials?

Hi
Specials page route=product/special shows special products:
https://demo.opencart.com/index.php?rou ... ct/special

Jump to post
  • Sun Nov 20, 2022 3:15 pm
  • Replies 4
  • Views 412
Re: When is the Order Number Allocated?

When you reach the final step of checkout (confirm step), the order is created. Before you finish the order.

Code: Select all

catalog\controller\checkout\confirm.php

Code: Select all

$this->session->data['order_id'] = $this->model_checkout_order->addOrder($order_data);

Jump to post
  • Sun Nov 13, 2022 2:43 am
  • Replies 4
  • Views 201
Re: When is the Order Number Allocated?

Hi
Are you using the default checkout or an one page checkout module?

Jump to post
  • Sat Nov 12, 2022 9:07 pm
  • Replies 4
  • Views 201
Re: Conversion tag for bin

Hi
If you have this in your controller:

Code: Select all

$data['order_total'] = $order_info['total'];
Then you need to use this in your twig file:

Code: Select all

{{ order_total }}

Jump to post
  • Fri Nov 04, 2022 6:54 pm
  • Replies 6
  • Views 425
Re: coupon code in button

​Hi
I am not going to add this to the official extension.​ Please click on the Get support button on the extension page, I will do this customization for you.

Jump to post
  • Tue Nov 01, 2022 11:46 pm
  • Replies 7
  • Views 1355
Re: coupon code in button

Hi, that looks perfect. I think I came across your ext, but it didn't describe the the ability to apply the coupon without the product in the description. Here's my question though. Do you think you can hash/salt/encrypt the coupon code in the URL? I'm using this in an abandoned cart popup saver if...

Jump to post
  • Tue Nov 01, 2022 3:24 pm
  • Replies 7
  • Views 1355
Re: coupon code in button

Hi I have this extension that can do that: https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=36520 It can also work without adding a specific product to cart. Try this link, It applies the coupon and as soon as you add a product to your cart, You will see the coupo...

Jump to post
  • Mon Oct 31, 2022 4:18 pm
  • Replies 7
  • Views 1355
Re: Default customer address?

Hi

OpenCart does not allow two customers to register with the same Email address. You probably have an extension or modified the files which caused this issue.

Jump to post
  • Mon Oct 24, 2022 2:06 pm
  • Replies 6
  • Views 951
Re: Stand Alone Image Manager

Hi
Sure, I will add a left menu entry in the next update.

Jump to post
  • Fri Oct 21, 2022 12:10 am
  • Replies 5
  • Views 2235
Re: Stand Alone Image Manager

Hi
I have this commercial extension that can do that:
https://www.opencart.com/index.php?rout ... n_id=32343
Please try the live demo.

Jump to post
  • Wed Oct 19, 2022 11:10 pm
  • Replies 5
  • Views 2235
Re: Add custom menu item using events

Hi
Yes, You can add children (sub-menu). Instead of an empty array:

Code: Select all

'children' => []
Write your sub-menus. Look at column_left.php to learn how to do it.

Jump to post
  • Mon Oct 10, 2022 12:59 pm
  • Replies 10
  • Views 1176
Re: Add custom menu item using events

Hi I am sharing a part of one of my extensions. This adds an item to the end if the admin menu items: public function adminMenu(string $route = '', array &$data = []): void { if ($this->config->get('module_editproducts_status')) { if ($this->user->hasPermission('access', 'extension/editproducts/...

Jump to post
  • Sun Oct 09, 2022 8:54 pm
  • Replies 10
  • Views 1176
Re: frustrating using OCMOD search on multi line code OC3038

Hi Maybe it is better to use CSS to hide this section, Like this: .product-thumb .button-group {display: none;} But if you want to use OCmod, You can comment this section out with two operations and put {# ... #} around it: <operation> <search><![CDATA[<div class="button-group">]]></search...

Jump to post
  • Wed Oct 05, 2022 5:48 pm
  • Replies 8
  • Views 1142

Search found 863 matches