Get quote id on admin new order create page - magento

I want to add one price match textbox when admin try to create an order.
Like this:
so when customercare got a customer for price match they just enter amount difference then we give total discount to customer. But I am faceing big problem so when user add amount press enter I am pinging one controller but in that controller I am not able to get quote id I am using:
$session = Mage::getSingleton('adminhtml/session_quote')->getQuote();
echo $session->getId() or $session->getQuoteid();
But I am not able to get quote id. And is there any why we can do that. Because we don't want customer item price we want to give full cart discount which help our account team to do there work easily.

There is one more default way to do this.
1) When you create an order from backend, you enter the customer detailed first.
2) When order page opens, there is a button where says "Add Products", click on it, select the product you want to map with this order.
3) Later, customer will tell the price which means you want to have custom price. In this case there is a checkbox called 'Custom price' under every product item you have added with "Add Products" option (Inside "Items Ordered).
4) When you click on this checkbox, an input will be visible in which you can enter the discounted price. Once you enter the custom price, click on the button below called "Update items and qty's".
5) Item's price will get updated with your custom price. You can proceed with the further order processing now :)

Related

Add custom text to each product in cart - Magento 1.9X

how can I attach a custom text to a product which will be added into the cart along with the product itself when adding it to cart and furthermore being passed through the whole order process like in order page in back office or on pdf invoices and so on??
Ex :
When customer is on my product page he has the opportunity to
"customize" the product with the help of a configuration wizard I
have built with javascript/jquery.
List item At the end of this process customer can add customized
product to cart which now has a custom price and a custom
"order text" for me as the shop-owner to get all the customization
information
When clicking on add-to-cart-button
product is added to cart with new custom price and custom text
Please note that my custom text is not entered by customer. Instead it's gonna be generated by programmatically.
1- make a text or textarea in custom options according to your need.
2- hide it by title
3- put your calculated information into that text field or text area using client side script before adding product into cart.
4- then you will be able to get that information in cart order overview and order details in frontend/backend.

Custom product attributes behaviour magento

I will be very direct..
Reference Ecommerce Website
There is a custom stitching options menu on the product description page.
1. Unstitched
2. Standard Measurements
3. Custom measurements
On standard and custom measurements, drop downs and a popup opens respectively, whose details goes on further with the added product.
How can i implement the same product options menu in magento ?
it's easy the reference site is a magento, an that are a bundle product
the only thing you need create a new product with the options.
UPDATE for #Enigmativity
in the official webside of Magento say:
"A bundle is a “build your own,” customizable product. Each item in a bundle can be based on one of the following product types:
Simple Product
Virtual Product
OpenStep 1: Create the Bundle Product
On the Admin menu, select Catalog > Manage Products. Then, click the Add Product button.
In the Create Product Settings section, select the Attribute Set for the product.
In the Create Product Settings section, do the following:
a. Accept the “default” Attribute Set, or select another.
b. Set Product Type to “Bundle Product.” Then, click the Continue button.
Step 2: Complete the Product Information
Complete the product information as you would for a simple product, with the exception of the following:
a. On the General tab, set both the SKU and Weight fields to one of the following:
Dynamic
Fixed
If using a fixed SKU or Weight, enter the actual value in the field to the right.
Dynamic SKU and Weight
b. On the Prices tab, set Price to one of the following:
Dynamic
Fixed
If using a fixed price, enter the actual value in the field to the right.
Minimum Advertised Price (MAP) is not available for Bundle products with dynamic pricing.
Dynamic Price
c. Then, set Price View to one of the following:
As Low as
Price Range
Click the Save and Continue Edit button.
Step 3: Add Bundle Items
In the Product Information panel on the left, select the last option, Bundle Items.
Then in the Shipment section, set Ship Bundle Items to one of the following:
Together
Separately
Shipment
In the Bundle Items section, click the Add New Option button.
In the Default Title box, enter a label for the bundle item, as you want it to appear on the Customize Product page. Then, do the following:
Bundle Items
a. Set Input Type to one of the following:
Drop-down
Radio Buttons
Checkbox
Multiple Select
b. Set Is Required as needed.
c. In the Position field, enter the order that you want this item listed in relation to other items included in the bundle.
Click the Add Selection button. Then, do the following:
Select Products
a. Click the Reset Filter button to display the unfiltered list of products.
b. Select the checkbox of each product that you want to include in this item.
c. In the Qty to Add column, enter the quantity of each item to be included.
Click the Add Selected Product(s) to Option button. When the items appear in the Bundle Items list, do the following:
a. Set User Defined Qty to one of the following:
Yes
Displays an input box so the customer can change the quantity.
No
Prevents the customer from changing the default quantity.
b. Enter a number in the Position column of each item to determine its place in relation to other items.
c. To make an item the default selection, select the Default option of the item to be pre-selected in the form.
Bundle Items
7. Repeat steps 3-7 for each bundle item you want to include.
8. When complete, click the Save button to save the bundle product.
"
reference : http://merch.docs.magento.com/ce/user_guide/catalog/product-bundle.html

Opencart 2.x.x. cart to enquiry basket

I am a newbie on opencart. I want to change the working of cart button. Actually, i dont want to show the prices of my products instead i want my customers to contact me for quote.
So, i want my cart button work in a way that when user click on checkout button, a form open (instead of paypal) in which cart added product names and ID written with other fields like name, email etc so that the user can get a quote from me.
I also want to change the add to cart text to add to basket and checkout text to Get Qoute.
Please help me, i know my issue is very complex and large. And i also know that you can do that.

Order getting successful, when both person placing order at the same time on a single quantity item (same product, quantity =1)

I was trying different scenarios about the payment. Since we are a small boutique, sometimes we have only one item in stock. So I was trying a scenario where I added a product (with only one quantity in the inventory) to my cart and clicked on place order and then was filling my credit card information at the same time another person was adding the same product to his cart and clicked on place order after me. But because I was filling the information and he was paying by "cash on delivery". What happened is that we both got the confirmation email and the payment was successful. So how this is possible? When I checked the inventory it was (-1) and not (0). I tried again but this time , I filled the credit card information and clicked "pay now" and then the other person clicked "place order". In this case the cash on delivery one didn't get the order. which is what it should have happened in the first time.

how to display few price fields for product in virtuemart

I need to add few price fields on product display in virtuemart, and check box near each price field
For example, when you buy this product, price depends on weight, and you need to select in check box
50ml
75ml
100ml
and near each checkbox, product price input field will be displayed.
How to realise this thing and is there any solution, that already done
Thanks, Ahmed.
You need to setup child (sub) products of your main product. This way you can have the description and images in the parent product and each child product will have an attribute and price associated with it. Have a google on "virtuemart setup child products" or something like that.

Resources