Im trying to build an opencart extension where a product is a subscription and the user must renew it every month. So once he purchase the subscription, the user will have the ability to download certain documents from the product page.
What i need to do is check if the user has a valid active recurring profile then show the download links or if the subscription is expired or inactive hide the links.
Can someone guide me on how to do this?
Im using opencart 2.3.
Related
I am using Drupal version 9.3.14 with Drupal commerce implemented in it.
I want to enable the functionality for user to create order without login. I.e. user should be able to create order or buy product from the site as a guest user. Right now new user needs to create an account before creating any order.
I made necessary changes in the checkout flow (/admin/commerce/config/checkout-flows) but after filling required information on the checkout form when it moves to order review page, it gives "Access Denied" page.
I am new to abantecart. i need help with customising the payment method. On clicking on the checkout on the cart page, i'd like to go to a page with a form which the user should fill some payment information (this serves as the payment method). Then an email should be sent to the store owner for approval and when approved an email should be sent to the user on the approval status. Please how can i achieve this?
The best to create new payment is using of AbanteCart Developer Tools.
Just download pack, unpack some of subdirectories (for v.1.2.9 and you should use "1.3" folder) in to your "extensions" directory, then go to admin and install it. Then generate new project with extension type "payment".
You can look into default_pp_standart extension and use it as example to create your custom payment form.
I am new to sitecore developement and have one task to acheive using EXM and WFFM.
I have one newsletter subscription form which contains
Name
Email Address
Option to subscribe for News Letter or Current Vacancies
Captcha
Clicking on Submit, should send Email to the user with link to verify his email address. After clicking on link user will be added in email subscription list to receive newsletter and/or current openings.
I am not sure from where to start to implement this functionality. Any help in this regard is highly appreciated.
Thanks!
Mohit, this sounds like a small standalone project and it's hard to detail every single step in here, but I will at least point you on how to get started.
First of all, let me briefly explain the two Sitecore modules and how you can make them work togheter:
WFFM: Lets you create simple web forms that record and report information provided by visitors to your website
EXM: Lets you create and manage email messages, and manage subscription lists
In order to achive your project, you need to:
Create two subscription lists: Newsletter Subscription List and Current Vacancies Subscription List. Here are some instructions
Create the subscription form, containing the two subscription options. You can follow this detailed article from Sitecore, which explains how to create a form.
Trigger Confirmation email on WFFM submit and subscribe users to your lists: if you follow this article, you will understand how to add the "Subscribe to Recipient List" save action and to trigger a Subscription confirmation email
Configure EXM: Create a new message in EXM, which includes your subscription lists as recipients list
I hope this helps you get started.
In Sitecore 7.5 I have created a test campaign. I have also created a test engagement plan. I set up the campaign to automatically enroll users in the initial state of my engagement plan. Then in my engagement plan I have a condition that checks for the value of a specific profile key. I am doing some local testing with test users and I cannot seem to figure out if there is any way for me to view a user's stored profile key values. Does this exist in Sitecore 7.5?
There is a Experience Profile Application in Sitecore 7.5, it is on the Launch Pad, On the login screen choose User Interface: Launch Pad.
Or use this url to /sitecore/shell/sitecore/Client/Applications/Launch Pad
In the Sitecore Experience Profile you can find contacts and see the profile.
The following blog is about adding custom tab with custom profile keys.
http://www.sitecore.net/learn/blogs/technical-blogs/getting-to-know-sitecore/posts/2014/09/using-custom-contact-data-part-1-experience-profile.aspx you need it if your desired key is not there.
We are using Sitecore 6.5, and the Email Campaign Manager 1.3.3 rev.130212 is installed.
Currently, when i add a Sitecore user, for example 'UserA' to multiple target audiences, lets say 'TargetAudience_A' and 'TargeAudience_B', after I send out these two target audiences, 'UserA' clicks the link in the email which comes from 'TargetAudience_A', then the link will bring user to the site, user visits several pages, Sitecore Analytics will be able to track 'UserA' VisitPageCount and Value, and creates the corresponding campaign of 'TargetAudience_A' with that data.
When the user opens the email sent from 'TargetAudience_B' and clicks the link, visits the site, NO campaign is created for 'TargetAudience_B' in the database, I can see all the data should use to create a new campaign for 'TargeAudience_B' is used to update campaign of 'TargetAudience_A'.
The whole link in the sent email has been modified by Sitecore, the corresponding campaign id is added, which makes the link looks like this:'httP:xx.domain.com/?ec_camp=xxxx&ec_as=xxxx'.
It seems that Sitecore just adds an Id to the url, but does not create a campaign for the 'TargeAudience_B' with that Id.
I use this sql query to check the visits data:
Select * From Visits join Automations on Visits.CampaignId = Automations.CampaignId
Where Automations.data = '{EmailTemplateId}'
the data column on Automations table is the email template id of the target audience.
Does any one know, how to track one user's activities for multiple campaigns? Is this possible to do? Or is this something which needs to be fixed by Sitecore?
Any help will be much much appreciated.
Thanks
EDIT: Sitecore does create Campaign for each target audience, but does not create Visits record for every one of them; Sitecore associates Campaign with the Visits, Sitecore cannot find\create Visits of 'TargeAudience_B', it finds the Visits of 'TargeAudience_A', for some reason it just updates the Visits record of 'TargetAudience_A'.
This does look right, does Sitecore create just one visit for a visitor a day no matter how many target audience this visitor in?
Neither target audience, the Visitor.ExternalUser or anything other than a fresh Visitor cookie will make DMS re-consider your visitor. So to answer your question, I do believe you are correct in your observation, and that this behavior is by design.
Also keep in mind; if your users click the email you send out from say their iPhone and come visit the site, they will be granted a Visitor ID. Later, when they're back home at their PC and click the same email again, they will get a fresh Visitor ID and will not be recognized by DMS as one and the same Visitor. This too, is by design.
If you want to achieve what I believe you're aiming to achieve, you're going to have to "tag" your Visitors with a key you recognize - like the email address - and then hook into the APIs and "grab" all Visitors that match your tagged email address. Not sure how well this will work with all areas of the DMS.
In my example above; if a user was triggered to enter an Engagement Plan or a State in an Engagement Plan - the "iPhone Visitor" would get attached to it - and any actions undertaken by the same person on his personal PC visitor profile on his desktop PC would not be affecting anything in this state.
Yes, it is a bit confusing - I may even have some slight details of this wrong - the DMS API changes a lot. But as far as I can determine, the above is correct and all by design.