Currency and affiliate in Price List - broadleaf-commerce

I have some questions related to Price List in Demo site.
I found a "CURRENCY" in General tab and a "CURRENCY CODE" in Rules tab. What are the differences between these two CURRENCY?
In rule tab, there is a section: "LIMIT TO CERTAIN WEB REQUESTS"
Is this for Affiliate web sites only?
Thanks,
Giang

I found a "CURRENCY" in General tab and a "CURRENCY CODE" in Rules tab. What are the differences between these two CURRENCY?
The one in the General tab is what currency should be returned when you retrieve a price from the pricelist. In the rules tab, that currency is used to match the price list for retrieval in the first place. You use the rules to obtain the price list (which can be based on a currency code) and then when you retrieve a price for a Sku from the pricelist, that price is in the currency that is in the General tab.
In rule tab, there is a section: "LIMIT TO CERTAIN WEB REQUESTS" Is this for Affiliate web sites only?
No, you can use anything from the request URL you see in your browser.

Related

Sales Team Sublist

We have team selling enabled on our NetSuite, so the bottom of our customer form contains the Sales Team sublist, like below.
My question is a simple one - can I access the fields in that sublist to disable them for certain users, change the labels, etc? If so, how? As far as I can see, it's all OOB and I can't find a way to edit any of it.

Netsuite Newbie: picking your attention about netsuite

do you have any idea what's the default currency rate in netsuite?,
also in inventory item display "total value" field, any idea how the computation is? or how it's use?
Thanks
The default currency in Netsuite is Dollar. you can change it in customization ? my company.
Also for second question Netsuite allow conversions on the bases of exchange rate. You have to enable Multiple Currencies feature from My Company > Enable Feature and also then enable automatic conversions.
1) On NetSuite, if you go to Setup -> Company -> Company Information, you'll see your currency setting for your company profile. Please be aware that if you have multiple subsidiaries, the currencies could differ per subsidiary.
2) If you click on the field label - you'll see more detail on the field, including how the value is calculated:

WHERE statement to display contacts on sidebar

I have multiple product pages (same page template), and each page is supposed to have different sales rep contacts on the sidebar. I set up the sidebar contact box as a repeater to pull data/filter data from a SalesRep page type. The SalesRep page type has a field called ContactForPage; and my plan is to put in a string from the product page URL, so that if the string match the page URL, the contact will be displayed on the sidebar for that page.
Example:
Current page url is: www.domain.com/products/product-123
John Doe has ContactForPage = product-abc
Jane Doe has ContactForPage = product-123
Jane Doe will be displayed as contact because the field value matched part of the URL.
I've been trying to write the WHERE statement but don't really know the syntax. Could you help!
Something like: WHERE: SalesRep.ContactForPage LIKE '%CurrentDocument.NodeAliasPath%'
Fist of all using URL as in SQL query is not a good idea. You have to define relation between sales reps and products correctly. Probably one sales reps might be selling TV, the other - cellphones. But if you want to directly connect product to sales man. You can use Related Pages and relationship structure.
Create new Relationship name, i.e. "is Salesman of Product" so
Page A (saleman page) will be related to Page B (product page) via the relationship above
Add related pages, i.e. for all salesmen pages add corresponding products via API or via properties > related pages
Use web RelatedPages web part to shows salesmen list on the right
I see a problem in your design. I assume a sales rep may mange multiple products, correct? If that's the case, you should add a field to the Product pagetype which allows you to select the sales rep instead of the add a field to the SalesRep pagetype, because how will you enter multiple products?
The field (e.g. SalesRepID) you add to the Product PageType can be a drop down list for select the sale rep. You can use Query to auto generate the list from the SaleRep page type. e.g. "SELECT RepID, RepName FROM custom_SalesRep". The RepID would be stored in the SalesRepID field.
For display, you can use the repeater set for SalesRep pagetype and use WHERE condition like this:
RepID = {% CurrentDocument.GetValue("SalesRepID") %}
The Relationship is working both ways. You can have multiple documents related one and vice versa, i.e. one product can be sold by many salesmen and one salesman can sell different products. You just need to define one relationship. If you have a relationship between "Product A" Page and "Salesman John" Page, you will see this relation on both pages in properties > related page.
All I am saying is this: you do not need to add extra fields to your page types (either salesman or product), you should use relationship instead.
Read here Displaying related documents.

Creating promotions with specific prices in Netsuite

Is there a way to create promotions in Netsuite 2016.1 so that items can have individually lowered prices? I know how to reduce items by percentages and how to set a flat price for all items, but I'm trying to allow individual items to have different temporary prices. Does Netsuite have this capability, or should I begin creating it via SuiteScript and custom records/fields?
Thanks!
Try the pricing groups feature of NetSuite. This lets you set a custom price for a set of items, which can then be assigned to various customers. This is primarily meant for negotiating prices with a large customer.
You might be able to use this feature to set temporary prices by switching the pricing group on and off for different customers with a script.
I am not aware of any way to temporarily set specific prices.
A thing I've done in the past was to create a set of custom fields and scripts that did the following for a Daily Specials program.
Take a group of products and copy their current on-line price to another field;
Update their online prices to a pre-determined value
assign them to a "Daily Specials" category.
set a custom checkbox field so that the item thumbnails could be easily bannered in a category list
A daily batch inspected a configuration table for that day's specials. It cleared all the current specials(prices back; remove from category; clear checkbox) and then assigned that day's specials.
this was driven by a table that allowed the product manager to schedule products based on seasonality and availability.

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.

Resources