Opencart Substract Stock doesn't work - opencart

All quantity of my product in the store are set to 10. And then my I tried to checkout . It seem the quantity of product still the same (Not Substract Stock).
Please help!!!

Go to edit a product in the admin panel and in the Data tab you will see a field called Subtract Stock. Make sure it's set to Yes.

Related

WooCommerce cart calculations

I built a website for my company and I want to know if there is a way to make add to cart button do calculations.
If the customer select a product with a price of 1
then I want to multiply it to a given number.But a different number each time not the same in all products.
Thanks in advance for any possible help.

Opencart Related Products appears three times

If I add more than one related product to my product, all products will be displayed 3x. Where is the mistake?
Thanks for the help!

Power BI Drilldown and Total

I am working on a table and creating drilldown in power bi matrix. Showing Drilldown From Member to To User. From member will drilldown to User and date. On the column header I see Instead of To User it shows First To User (red arrow). Second After drilling on the same line of From Member there is one of the To User (Blue arrow and yellow highlight) and next to it , it has SUM. Similarly at the bottom at TOTAL there is one To User Name and then SUM. My question is (1) how to remove First from the Fisrt User To. (2) How to remove Yellow Highlited Name . (3) How to remove name from the TOTAL row. Please see image for clarity. Thanks in advance for help.
Ans to question 1 Edit the column name as shown in the image. You can update it to any label you wants and the column header will show the label accordingly.
Ans to question 2 & 3 There is no exact configuration in Matrix for your scenario. In addition, adding Text column in the Values list also do not make that sense as you already facing issue with that column. In Matrix, Values column always considered for Aggregation and for Text type column you can take any of the option from - First/Last/Count. Now with those options, you can not achieve your required output.
Work around (Best for your case): This will solve your issue 1,2 & 3 together in one go. Create a Custom Column to your table as below-
date_user = your_table_name[Date] & " : " & your_table_name[user]
Now, add both your column From Member and date_user to the Matrix's Rows and Sale column to Matrix's Values property. The final output will be something like below (with my test data)-
====================================================
ADD USER DRILL DOWN
Add User(My Case Sub Category) column to Matrix row as below-
The final output will be as below-
To remove subtotals you can turn off the subtotal option at the paint roll while selecting the visual. During my test I was able to remove all totals using only this option.
Hope this solves all your questions. Feel free to add more details and I'll do my best to help.

Totals not changing with repeater filtering

We're migrating from NAV 2009 R2 to NAV 2016 and I'm having an issue with a page.
I have a repeater with several columns the user can filter. There a $ totals in the group below the repeater that should change based on what is presented within the repeater grid after filtering.
Thanks for any insight anyone can give me.
Try adding a "totaling" procedure (that will add the values from the current record to global variables which are displayed at the bottom of the page) and call it from the OnAfterGetRecord() trigger.
You can try to make a FlowField in the table that your page is based on. The FlowField should Sum the columns you need and then just add the newly made field to the group in your page. Ofcourse you would have to keep the filters in mind.
The other option is that you make a global variable (for example Total) on the page and a function that calculates the total sum of a given column or columns and stores it in the variable. Add the variable as a field within the page group and also make sure the value updates after any change.

Making a row read only in a tabular form

I have a tabular form which users will update on a yearly basis for their targets. Each product will have three rows: a row showing sales (last year), a row showing sales_target (sales man will enter) and a manager figure (what the manager expects the sales man should sell). The user should only be able to view sales from last year and the managers figure, and be able to enter into sales_targets. I know how to make columns readable but stuck on how to make a row readable if its not manager figure and sales.
There was some javascript that i could maybe use from another post however that is for a column rather than a row, could something similiar maybe used? Link here
I have made a demo here:
Link:apex.oracle.com
workspace: apps2
user: user
password: DynamicAction2
application name: Application 71656 Read only Rows for Tabular Form
Yes, something similar can be used (execute this on page load):
$('#TAB_REP').find('td[headers="TYPE"]:contains(manager figure)').siblings('td').children('input').attr('disabled', 'disabled');
where TAB_REP is static ID of your report.
I have try to use more simple way - by defining attribute of the column, but in tabular report, apex dosn't replace #COLUMN# strings. Hope this is not a bug.
P.S. I've changed your demo.