How to add currency in opencart? - opencart

I have add one more currency in currency table of opencart,but it is not reflect on front end.
How would I achieve my goal??

Is the currency "enabled" in the admin panel? Go to the currency you added in admin and see the bottom "status" select field. Disabled there means it will not show on the store front.

Related

How can I set a card to default value if there's no filter? How can I set a default filter to page?

I have this dashboard:
What I want :
How can I make it so that when a user enters the dash board, the page is filtered automatically to yesterday's values and the user has the ability to filter what he want using the slicers shown?
How can I set a default value to a card so that when the slicer ID displays ALL, the card has a default value like company name.
1> Add report/page level filter with your date field, select type "relative filtering" and set the value to last 1 days and save the report.
2> In the measure, you are using for the card add the following:
RETURN
IF(
HASONEVALUE('your company field'),
SELECTEDVALUE('your company field'),
"The default value you want"
)

How to write a query based on the Date item, in interactive grid

I have a date field and a interactive grid. I am trying to generate the Interactive grid based on the value inputted in the date field.
I am trying to write the query as below :
select pap.effective_start_date , pap.effective_end_date
from per_all_people_f pap
where :SELECT_DATE between pap.effective_start_date and
pap.effective_end_date
Here, SELECT_DATE is the name of the Date field (datatype Date picker). I am writing a dynamic action on Change of Date field, and refreshing the interactive grid region.
But when I change the value in Date field, it doesn't return any rows.
I have done a similar change where my interactive grid was based on a dropdown. There I had to set the "page action on selection" to Submit, and it worked. But here, since it is a Date field, the "Page Action on selection" property doesn't appear on the page .
Can somebody please suggest, how can I achieve this.
You need to explicitly convert your bind variables, which are treated as strings, to dates.
to_date(:SELECT_DATE)
The format mask will come from the application properties, or you can be explicit with that, too.

Oracle Apex radio group

Environment: Oracle DB 11gR2.
Framework: Oracle Apex 5.1
I have a table with Column Product_id,Monthly_rate and Yearly_rate
When user will select Option for- Monthly
Then I want to pass below three values in another pages according to selection
Product_id
Monthly -- User select this option
Monthly_rate
Similarly for Yearly selection I want to pass
Product_id
Yearly -- user select this option
Yearly_rate.
I want to use radio group How can I achieve this?
Thanks in advance
When you declare a Radio Group in Apex the selected value will be stored as the Item Value on Submit. As with every other Item in Apex you can then reference that Item Value from all other Pages with this Syntax:
:P1_MY_RADIO_GROUP
Where 1 is the Page ID and MY_RADIO_GROUP the Item Name.
When you want to maintain that selection in another Radio Group just use the Item Value as the Source for those Radio Groups.

Apex5.0 choose layout and add date validation

I am building a student module application in Oracle Apex 5.0 and wanted to know how to display the details in oracle apex.
Something like this with two tabs on the 1 page:
on first tab, When input StudentID,
the first section will contain system_date and tutor name that has login
second section should contain student name and course desc & course year
third section is to display current semester module, if payment done or not (Y /N), markings %, date of payment.
2nd tab of the page to include all courses done for that student.
Which layout to choose (interactive grid/report) or any other.
How to add validation of date picker for the payment date so that upon input it insert directly in table in DD-MON-YY format and also that it takes system_date??
Note table:
student_details: the student name, address and personal details
course_detail table contains the courses for the semester
payment_detail table for the payment details
The sort of things you're going to want to look for are:
Region Display selector, for multiple tabs
Any type of report region to display data, and you can have multiple, and nest them as sub-regions.
You can define page items that are displayed as date pickers, and use default values to source today's date using the keyword SYSDATE.
You're going to need to understand SQL.

Formatting a portal in FileMaker 13 to show related text only and not keys

I am using FileMaker Pro 13. I need to add Portal to show data from related table.
Some fields which I wanna add to Portal are "Foreign keys" from that related table that are linked-related to third table.
Results I am getting in Portal from those fields are numbers, but I need data (text) from that third table that is related to that "Foreign key".
Is it possible to create portal that shows text related to that foreign key, and if it is, how to achieve that?
Thanks a lot!
Example schema is on link https://www.lucidchart.com/invitations/accept/e45dfdfd-185d-46c8-ad9e-e8e8dc270ee7
In general words, I want to add Portal on layout based on Table3, so I can view related data from Table2, and it would have fields tbl2item, TBL1_foreign key (from where I pull data from Table 1 when I enter data in Table 2, using pop up menu). And in Portal data I need TBL1_foreign key to be represented as text from related table instead of auto-numbers.
Assuming the relationship:
Table 1 --> Table 2 --> Table 3
You are in the layout based on Table 1. Make sure there is relationship to Table 3 and it is in the same group (TOG) in Manage Databases. Just place the field with text from the Table 3 on your portal row and it should work.
Make sure you select the correct relationship for Table 3. In drop-down list it should be in "Related" group. Should look like "Table 3::myFiled" on the layout, with the name the same as the name of your table instance (TO) from "Manage database" which could be different from your base table name
The other option would be to use value list.
I do not see your file, so if it does not work for you, post more details about your setup.