opencart 2.2.0.0 cart shows all the totals twice - opencart2.x

my issue is that when you add an item to the cart it shows the Sub-Total and Total twice for the Item thus making the total amount twice what it should be, even though there is only one item shown with the correct price.
this is a clean site no VQMOD or OCMOD I have imported some data from 1.5 however the products have all been updated everything else has been tested and is working as the store was created fresh only imported initial products and customer and order data.
if anyone can help it would be appreciated
image of the page and result in question.

Related

InfoPath Forms Library Multiple Item Creation Issue in SharePoint Online

I have a Forms Library with a library InfoPath form. Everything is working fine until today a strange issue is observed and reported. Consider the below 2 scenarios in which the issue happens:
If I have items 121, 122, 123 and then I delete item 123 for some reason, then the next item that I create would be 124 ofcourse as I'm using the ID field to create my filename but this item upon editing would give me multiple items for each edit once submit button is clicked. But the strange part is if I leave 124 in it's last state for example after 2 edits now the latest ID would be 126 and create a new item 127, everything would be fine and each edit to 127 would update the same item.
The same behavior is exhibited for some of the old items but there is no real similarity between the items which have the issue and which don't and the problem is purely random.
The submit rules are pretty straight forward.
The current month is extracted using a substring formula from today().
enter image description here
The form year is calculated using the current year field which is extracted from today as well using the substring formula.
enter image description here
Based on the month form year is set to current year if the current month is before October.
enter image description here
Based on the month form year is set to current year +1 if the current month is after October.
enter image description here
Now I'm setting the Form ID to 1 if there are no items in the library
enter image description here
If there are items in the library and considering it is a new item with no Title then I'm setting the Form ID as below:
enter image description here
Now I'm setting the Form Title which I'm using as the filename in the form library submit with overwrite as yes.
enter image description here
Finally Submitting the form.
enter image description here
I tried everything but could not figure out what is causing the issue. Please help me with this.
Thanks,
Suhas
The issue is with the way the Title field is set in the workflow vs the way it is set in the form. Both were mismatching and hence every time the workflow runs, it is creating a new item for the same form which increments the ID.

Changing Qty of SOLine from a Different Page

I have a customization in which the user can adjust the quantity of an SO Line from a different page. This works perfectly, except when the user goes to execute the action "Create Shipment" for that SO. When "Create Shipment" executes, the shipment record created reflects the original values the user put in for the line's quantity instead of the adjusted quantity. Here is an example:
I created an order with original SO quantities of 10 and one respectively. I then changed the quantities to 8 and 5 respectively through my customization page:
This is the shipment I get when I select Actions -> Create Shipment:
I have looked through and adjusted any numbers misrepresenting the values I desired in the SQL tables SOOrder, SOLine, and SOLineSplit, but I still get the incorrect values when creating a shipment. Is there a table I am missing?
Sounds like the issue could be the PlanQty found on the related INItemPlan record which the Create Shipment process uses to create the shipment.
Might be worth looking into getting the SOLine updated via the SOOrderEntry graph or make sure the INItemPlan values are getting updated correctly. Maybe a missing view in your custom page. I think the values are updated from the attribute on PlanID of SOLineSplit if that helps.

How to manage number of left items in an ecommerce website for items with limited quantity?

I am developing an e-commerce site in node, We have an item with limited quantity, so as soon as the user selects I made it so that number of items he asked for is checked and if okay those items will be decremented from database, but then if the user does not complete the payment, it will be a mess. So if you guys could advice a better strategy it'll be cool example project or code will be even more cooler!
Cache the description along with the price of the product, so when each request comes for the item it will return the Product description and price if quantity is more than one. On every purchase(payment in your case) of the product, reduce the quantity of particular item in the database. When product stock reaches to zero, remove it from the cache or show it to customer as out of show. It's normal way ecommerce works.

how Customer can download Opencart Voucher after purchasing product instead of receiving it through e-mail

I am new to Opencart.Feeling difficult to do a task.I need your help on the below task.Please help me out.
Customers can download the voucher using a chosen voucher template (Happy Birthday or something)
The vouchers are for the service items in the menu page (the items and prices are listed in the menu page).
If they choose 1 service(ex:Nail Treatment) item from the menu it’s the same price($25) as per the menu
But,If they choose 2 service items they get a 5% off from the total of the 2 items they choose(then its $25x2 minus 5%)
So the value of the voucher depends on what item they choose from the menu
Then they can download the voucher using a chosen design (Happy Birthday or something)
Please let me know,how to do above task.
Thank you for your help
Well, do you realize your title asks completely different thing from what is asked in description?
OpenCart does not allow (in default) to give discounts/sales on vouchers nor gift vouchers. If you want to achieve this you have to transform those gift vouchers into real products (with download where an image or PDF of voucher could be downloaded). This will solve both of your problems.
On a gift voucher as a product you can set the discount (if more than one piece is bought) or even sale. If the download is present user is able to download it manually from his account.

Create a pivote table/graph in Excel with Values aren't cumulated

So I'm pretty new to the Pivot Tables in Excel so I may not have the basic knowledge of how it works.
I have a tables filled with information (views, rating, shares) from a webpage that is saved every 5 minutes. With the pivot table I would like to be able to make a graphic with the number of likes/views/rating for a 24h period or maybe weekly in order to find that time would be best to release content.
I am able to make a graph like I want it, but I'm having trouble with thing. The values are cumulated, as you can see in the graph below, the views are around 2000-2500 which is correct, but the Facebook Likes are them around 20-30 and the Rating is around 200. Yet the FB Likes is added to the number of views and the ratings is added to the number of views and FB Likes.
I hope you can understand my problem.
Also these 3 sets of data are added in the Values of the PivotChart field, then a box named "Values" appears in the the Legend (Series).
I don't really know how to make it so that the values don't add to themselves.
Does anyone have an idea how I would be able to fix this issue if it is possible ?

Resources