Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHow do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?How do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?
Previous
 
Next
New Post
8/27/2011 1:37 PM
 
Hi Gilles,
Thanks for reviewing the code I provided, I will definetly download the latest verison. Also thanks for the advice and I will definetly look at the post that you linked when I get a chance and get back to you.

- Will
 
New Post
1/25/2012 11:33 PM
 
I'm trying to edit the source code to remove the item_number that appears infront of each item during checkout with paypal.

I was able to remove the item_number in the cart settings by selecting product name to be displayed in the cart but the product number still appears when transferred to paypal under order details.

The source code is ~\DesktopModules\Store\Cart\Providers\GatewayProviders\PayPalProvider\PayPalGatewayProvider.cs

Line 114-125

// Order details
                OrderController orderController = new OrderController();
                List<OrderDetailInfo> orderDetails = orderController.GetOrderDetails(orderInfo.OrderID);
                int itemNumber = 1;
                foreach (OrderDetailInfo detail in orderDetails)
                {
                    // paypal.Fields.Add("item_number_" + itemNumber.ToString(), detail.ProductID.ToString());
                    paypal.Fields.Add("item_name_" + itemNumber.ToString(), detail.ProductTitle);
                    paypal.Fields.Add("quantity_" + itemNumber.ToString(), detail.Quantity.ToString());
                    paypal.Fields.Add("amount_" + itemNumber.ToString(), detail.UnitCost.ToString("0.00", ci_enUS));
                    itemNumber++;
                }

What lines of code should I edit to remove the item_number and after I build the store module what dll files should I copy over to my remote website? Do I copy only the DotNetNuke.Modules.Store.Cart.PayPalProvider.dll or do I need to copy all 22 Store dll's?

Thanks,
;)
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreHow do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?How do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out