Laravel Shoppingcart installation for the pull request











up vote
1
down vote

favorite












I installed the laravel shopping cart by using composer update which is Crinsane/LaravelShoppingcart as picture below:-
enter image description here



But the problem is under this package there don't have discount features. So I found have someone pull request under this package as picture below:-



enter image description here



The problem is how to I install it to add on discount features as image 2?










share|improve this question






















  • So you're trying to get the new update of Crinsane/LaravelShoppingcart?
    – chinloyal
    2 days ago










  • the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
    – lun7code
    2 days ago















up vote
1
down vote

favorite












I installed the laravel shopping cart by using composer update which is Crinsane/LaravelShoppingcart as picture below:-
enter image description here



But the problem is under this package there don't have discount features. So I found have someone pull request under this package as picture below:-



enter image description here



The problem is how to I install it to add on discount features as image 2?










share|improve this question






















  • So you're trying to get the new update of Crinsane/LaravelShoppingcart?
    – chinloyal
    2 days ago










  • the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
    – lun7code
    2 days ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I installed the laravel shopping cart by using composer update which is Crinsane/LaravelShoppingcart as picture below:-
enter image description here



But the problem is under this package there don't have discount features. So I found have someone pull request under this package as picture below:-



enter image description here



The problem is how to I install it to add on discount features as image 2?










share|improve this question













I installed the laravel shopping cart by using composer update which is Crinsane/LaravelShoppingcart as picture below:-
enter image description here



But the problem is under this package there don't have discount features. So I found have someone pull request under this package as picture below:-



enter image description here



The problem is how to I install it to add on discount features as image 2?







laravel github






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









lun7code

458




458












  • So you're trying to get the new update of Crinsane/LaravelShoppingcart?
    – chinloyal
    2 days ago










  • the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
    – lun7code
    2 days ago


















  • So you're trying to get the new update of Crinsane/LaravelShoppingcart?
    – chinloyal
    2 days ago










  • the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
    – lun7code
    2 days ago
















So you're trying to get the new update of Crinsane/LaravelShoppingcart?
– chinloyal
2 days ago




So you're trying to get the new update of Crinsane/LaravelShoppingcart?
– chinloyal
2 days ago












the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
– lun7code
2 days ago




the 1st image doesn't have the feature, but 2nd have the feature I need, perhaps is that any method to copy or modify it?
– lun7code
2 days ago












1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










Inside you composer.json file you can add the repo that you want the code from by doing:



"repositories": [
{
"url": "https://github.com/fraterblack/LaravelShoppingcart",

"type": "git"
}
],


Then change the package name you have for LaravelShoppingcart in composer.json require section to:



"require":{
"fraterblack/LaravelShoppingcart": "dev-master"
}


Then run composer update



(EDIT):



Instead of what I had before, use something like this:



{                                                               
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/fraterblack/LaravelShoppingcart"
}
],
"require": {
"gloudemans/shoppingcart": "dev-master"
}
}


It didn't work because "frater" didn't update the composer.json file in their repo so use "gloudemans/shoppingcart": "dev-master" in "require" instead of "fraterblack/LaravelShoppingcart": "dev-master"



And instead of composer update just do composer install






share|improve this answer























  • may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
    – lun7code
    2 days ago










  • I tried your method, it say typo in the package name.
    – lun7code
    2 days ago










  • yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
    – chinloyal
    2 days ago










  • If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
    – chinloyal
    2 days ago










  • thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
    – lun7code
    2 days ago











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53350368%2flaravel-shoppingcart-installation-for-the-pull-request%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










Inside you composer.json file you can add the repo that you want the code from by doing:



"repositories": [
{
"url": "https://github.com/fraterblack/LaravelShoppingcart",

"type": "git"
}
],


Then change the package name you have for LaravelShoppingcart in composer.json require section to:



"require":{
"fraterblack/LaravelShoppingcart": "dev-master"
}


Then run composer update



(EDIT):



Instead of what I had before, use something like this:



{                                                               
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/fraterblack/LaravelShoppingcart"
}
],
"require": {
"gloudemans/shoppingcart": "dev-master"
}
}


It didn't work because "frater" didn't update the composer.json file in their repo so use "gloudemans/shoppingcart": "dev-master" in "require" instead of "fraterblack/LaravelShoppingcart": "dev-master"



And instead of composer update just do composer install






share|improve this answer























  • may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
    – lun7code
    2 days ago










  • I tried your method, it say typo in the package name.
    – lun7code
    2 days ago










  • yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
    – chinloyal
    2 days ago










  • If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
    – chinloyal
    2 days ago










  • thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
    – lun7code
    2 days ago















up vote
1
down vote



accepted










Inside you composer.json file you can add the repo that you want the code from by doing:



"repositories": [
{
"url": "https://github.com/fraterblack/LaravelShoppingcart",

"type": "git"
}
],


Then change the package name you have for LaravelShoppingcart in composer.json require section to:



"require":{
"fraterblack/LaravelShoppingcart": "dev-master"
}


Then run composer update



(EDIT):



Instead of what I had before, use something like this:



{                                                               
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/fraterblack/LaravelShoppingcart"
}
],
"require": {
"gloudemans/shoppingcart": "dev-master"
}
}


It didn't work because "frater" didn't update the composer.json file in their repo so use "gloudemans/shoppingcart": "dev-master" in "require" instead of "fraterblack/LaravelShoppingcart": "dev-master"



And instead of composer update just do composer install






share|improve this answer























  • may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
    – lun7code
    2 days ago










  • I tried your method, it say typo in the package name.
    – lun7code
    2 days ago










  • yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
    – chinloyal
    2 days ago










  • If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
    – chinloyal
    2 days ago










  • thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
    – lun7code
    2 days ago













up vote
1
down vote



accepted







up vote
1
down vote



accepted






Inside you composer.json file you can add the repo that you want the code from by doing:



"repositories": [
{
"url": "https://github.com/fraterblack/LaravelShoppingcart",

"type": "git"
}
],


Then change the package name you have for LaravelShoppingcart in composer.json require section to:



"require":{
"fraterblack/LaravelShoppingcart": "dev-master"
}


Then run composer update



(EDIT):



Instead of what I had before, use something like this:



{                                                               
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/fraterblack/LaravelShoppingcart"
}
],
"require": {
"gloudemans/shoppingcart": "dev-master"
}
}


It didn't work because "frater" didn't update the composer.json file in their repo so use "gloudemans/shoppingcart": "dev-master" in "require" instead of "fraterblack/LaravelShoppingcart": "dev-master"



And instead of composer update just do composer install






share|improve this answer














Inside you composer.json file you can add the repo that you want the code from by doing:



"repositories": [
{
"url": "https://github.com/fraterblack/LaravelShoppingcart",

"type": "git"
}
],


Then change the package name you have for LaravelShoppingcart in composer.json require section to:



"require":{
"fraterblack/LaravelShoppingcart": "dev-master"
}


Then run composer update



(EDIT):



Instead of what I had before, use something like this:



{                                                               
"minimum-stability": "dev",
"repositories": [
{
"type": "git",
"url": "https://github.com/fraterblack/LaravelShoppingcart"
}
],
"require": {
"gloudemans/shoppingcart": "dev-master"
}
}


It didn't work because "frater" didn't update the composer.json file in their repo so use "gloudemans/shoppingcart": "dev-master" in "require" instead of "fraterblack/LaravelShoppingcart": "dev-master"



And instead of composer update just do composer install







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered 2 days ago









chinloyal

38615




38615












  • may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
    – lun7code
    2 days ago










  • I tried your method, it say typo in the package name.
    – lun7code
    2 days ago










  • yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
    – chinloyal
    2 days ago










  • If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
    – chinloyal
    2 days ago










  • thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
    – lun7code
    2 days ago


















  • may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
    – lun7code
    2 days ago










  • I tried your method, it say typo in the package name.
    – lun7code
    2 days ago










  • yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
    – chinloyal
    2 days ago










  • If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
    – chinloyal
    2 days ago










  • thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
    – lun7code
    2 days ago
















may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
– lun7code
2 days ago




may i know composer.json file previously dont have repositories, is that just add on for this? and require part are using '"gloudemans/shoppingcart": "^2.5",' does it need to remove it ? or just add on "fraterblack/LaravelShoppingcart": "dev-master" ?
– lun7code
2 days ago












I tried your method, it say typo in the package name.
– lun7code
2 days ago




I tried your method, it say typo in the package name.
– lun7code
2 days ago












yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
– chinloyal
2 days ago




yes remove '"gloudemans/shoppingcart": "^2.5",' and add '"fraterblack/LaravelShoppingcart": "dev-master",' @lun7code
– chinloyal
2 days ago












If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
– chinloyal
2 days ago




If there are no repos in your composer json then just a that repo that I mentioned anywhere in the composer.json
– chinloyal
2 days ago












thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
– lun7code
2 days ago




thanks for reply but it still have this issue - The requested package fraterblack/laravelshoppingcart could not be found in any version, there may be a typo in the package name.
– lun7code
2 days ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53350368%2flaravel-shoppingcart-installation-for-the-pull-request%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Costa Masnaga

Fotorealismo

Sidney Franklin