Opencart 4 Remove Checkout Fields - twig

I'm setting up a store using Opencart 4 and need to edit the checkout fields so that the only fields are:
Name
Phone Number
Address
I've tried using the Theme Editor but the changes keep coming back and I can't remove fields from the shipping address. Is anyone able to support please?

Related

Can i remove postal code input box in the shopify?

I want to remove postal code input box from the shipping address.
Shipping Address form
I have tried a lot of things like adding CSS in the theme.liquid file and tried to change the settings from check out and account settings but i am unable to figure this out.

OpenCart is deleting all decimals in admin panel

When I'm changing some product parameters in OpenCart admin panel and saving data, OpenCart deletes all decimals. Problem lies in admin panel not with displaying numbers on main shop page. It doesn't matter if I want to set price, weight ect. Decimals are always gone.
I was trying to find problem in OpenCart code but I can't. I didn't set that shop, I'm just helping friend with this problem.
I also checked database. Price, weight ect fields are set to decimal(15,4) so it's ok. When I'm updating data manually directly from database, everything is ok. I have no idea what to do.
Thanks for all your responses.
i think you can find what you want on this file as a example system/library/weight.php
and the code what you have to change is this:
return number_format($value, 2, $decimal_point, $thousand_point) . $this->weights[$weight_class_id]['unit'];

Adding a custom product listing CMS block in shopware 6

I try adding a custom CMS block for product listing in shopware 6.
I can create other blocks for example image,text,... for those i don't have any problem.
But about product listing i have problem.I do the steps correctly according to this document
But in admin panel i can't see My CMS block product listingi have only default product listing .
Also for test i change value hidden:true in sw-cms/blocks/commerce/product-listing-exam/index.js with this value my block appears.But doesn't work.i can use of my block in shop page layout type but i need use this in listing page layout
There is my source code : link
How did you created the image/text elements, did that work without problems? I created a cms block according to the documentation, but the block does not appear in the block list. There is a file in public/administration/js folder in the example plugin. Do you know what that does? Maybe the problem is because of that.

Drupal 7: Search multiple search types at the same time

I've built a calendar system for our website, and made it searchable using the hook_search_info and hook_search_execute. The problem is, I'd like when users use the search box at the top of our site to see results that match content and events on the calendar. Right now it only shows content results because the form gets submitted the 'search/node'. Is there a way to make drupal show results across all search types? My hook_search_info registers my module so that it uses the 'search/tcmi-calendar' path.
before 2 days only, Im needed something like you want .. and the problem was solved for me, when i using a Multi indexing search api, Im using its and all work fine ..
to can use it you need to install a
Search API
Search views (enable it after install search api)
Database search
after you install these go to admin/config/search/search_api, and Add server,
after you add server, you can now add indexs you want ..
then go to view, add new view .. select multi indexes from show list ..
and config your field as you want ...

Liferay Hook customization

I wanted to write a hook which will place a new field in new document type along with present ones(textbox, selectbox etc.)."I need That new field which works like dropdown box under Metadatasets as screen shot shows .and also i need to get values from database whenever i select that field in the available fields if we choose "select" it show option1 ,option2 ,option3 .."
Can anyone know which js and jsp files should I edit.? Please help
https://www.liferay.com/documentation/liferay-portal/6.1/user-guide/-/ai/lp-6-1-ugen04-document-types-and-metadata-sets-0
i was unable to upload image,Can u plz see the above link.in this page figure 4.6 is the image.
Since Document Types are part of Document library so you can check-out: \portal-web\docroot\html\portlet\document_library\edit_file_entry_type.jsp. and other related pages which might be accessed from this page.
Hope this is what you want, again I would suggest to please pay heed to my comments to your question.

Resources