e-commerce,shopify , Shopify - Different prices based on country


Shopify - Different prices based on country

Question:

Tag: e-commerce,shopify

Does anyone here on stack know if it's possible, in Shopify, to use different prices for different countries/regions i.e. i want a product to cost 10€ in Europe but 10$ in North America?

  1. Most important to know whether it's possible or not (trough out the shopflow)
  2. Implementation advice would be appreciated

The geolocation part is not the problem here.


Answer:

You cannot have different prices for different countries. If you want to do that, setup a shop per country, and price the inventory accordingly. You can use geolocation code to at least render the correct shop per country then, and thus present the pricing that makes sense for that country.


Related:


jQuery Easing Undefined function


jquery,shopify,easing,uncaught-exception
I recently migrated an update of a store onto a shopify server. After doing so a few jquery issues occured even though it was working on the developement server. They fail to work with the error Uncaught TypeError: undefined is not a function - Jquery Easing` Im struggling to debug...

Shopify get current collection


shopify
I am new to Shopify and learning it right now. I am on collection page, is there a way I can get current collection? For example, I have following collections category 1 Sub cat 1.1 Sub cat 1.2 Sub cat 1.3 category 2 Sub cat 2.1 Sub cat 2.2 Sub...

Shopify Orders API redirects me to login when specifying ID


php,shopify
I created a private app for my Shopify account so that I can use API to interact with it. In particular when using the Orders API, https://apikey:[email protected]/admin/orders.json returns an empty json, but then when I try to retrieve a specific order using https://apikey:[email protected]/admin/orders/#{id}.json, I am redirected to the login page....

Updating fields of model using forms and views on Django 1.7


python,mysql,django,forms,e-commerce
In models.py my Product model is class Product(models.Model): productName = models.CharField(max_length=20, default='1',blank=False,null=False, primary_key = True) userPhone = models.CharField(max_length=20, default='1') userid = models.ForeignKey(Account, default='1',null=True) productDesc = models.TextField(blank=False,null=False, default='1') productCategory = models.ForeignKey(Category, null=False, default='1') productPrice = models.DecimalField(default='0',blank=False,null=False, max_digits=6, decimal_places=2) picture =...

Displaying all woocommerce product liks with title in Footer for SEO - Wordpress PHP


php,wordpress,woocommerce,e-commerce
I am wanting to display all woocommerce products with links with the woocommerce title on the links top help my SEO. I have managed to find some code below which gets the product categories but cant seem to get the code to display all products with the title on the...

Supplier login when using spree-drop-ship


e-commerce,spree,marketplace
I'm working on a marketplace website. The idea is to allow for suppliers to login, add their products, view orders, generate reports etc. I'm using Spree Commerce, and I see everyone suggesting to use spree-drop-ship extension to achieve all/part of above.(it's not really clear from the documentation, all the features...

jQuery modal doesn't work as expected


jquery,html,css,shopify
I am trying to create an opening soon page like shopify's opening soon page here freakytech.myshopify.com and instead of the enter password button I have a get coupon code button that allows you to get a coupon code for the store. When you click this button on my page it...

Shopify vendor if statement


shopify,liquid
A shopify liquid question: If no vendor is available, then shopify adds the shop name as the default vendor. I'd like those instances to be blank. I'm trying to create an if statement which hides the vendor if there is no vendor or if it equals the default vendor name....

Fetch all the products (more than 50,000) using the Shopify API


php,api,curl,shopify
I'm trying to fetch all the products of a Shopify store in my app using the Shopify API. I have the following code to fetch all the products page wise. This script is breaking at some point of time, not sure where. How can i make a rigid script which...

Posting to Shopify using PHP


php,json,shopify
I'm trying to post from a PHP page to Shopify to indicate that an order item has been fulfilled. I must not be doing this correctly because I keep getting a null result. I'm doing this on a test order that was cancelled, but I would expect that I'd at...

Magento realtime data integration


php,api,magento,plugins,e-commerce
this could possibly be answered somewhere allready, but unfortunately I could not find the answer that would suit me. The question is, can Magento be used only as a front end E-Commerce platform? That is read product nad customer data from external API, and also submit that data to external...

json to csv with php


php,json,csv,shopify
I'm making a GET request to shopify API, and it gives back a response in json. I'm then using pHp to take the response and transform it into arrays put into a csv file. But I'm having a error. The php code: <?php $baseUrl = 'https://[email protected]/admin/'; $response = json_decode(file_get_contents($baseUrl.'orders.json?limit=250')); $fp...

How can I allow users to get paid directly with stripe?


ruby-on-rails,e-commerce,stripe-payments,marketplace
I've looked at stripe connect and it forces each user to impute their Social Security number and etc. just so they accept payments for a item they want to sell. Is there a less painless method where users can sell something on my site, receive monies, and buy from other...

PHP Comparison Inversion


php,html,mysql,e-commerce
Following code is from an excommerce shipping module: if (!IS_ADMIN_FLAG) { global $cart; $chk_products_in_cart = 0; $chk_products_in_cart += $_SESSION['cart']->in_cart_check('products_id', '12'); $chk_products_in_cart += $_SESSION['cart']->in_cart_check('products_id', '22'); // do not show florida 18 and new york 43 $chk_delivery_zone = $order->delivery['zone_id']; $chk_states = '18, 43'; $arr1 = explode(", ", $chk_states); $arr2 = explode(", ",...

Prestashop 1.6 Module error: Notice on line 719 in file prestashop16\tools\smarty\sysplugins\smarty_internal_templatebase.php


php,smarty,e-commerce,prestashop,prestashop-1.6
I'm developing a module and extended AdminFeaturesController.php to display my custom field Add/Edit Feature Value, but it is showing following error in popup: Notice on line 719 in file D:\xampp\htdocs\prestashop16\tools\smarty\sysplugins\smarty_internal_templatebase.php(157) : eval()'d code [8] Undefined index: value I think it is due to I override the function initFormFeatureValue() in my...

Is there a way for concatenate two strings and then process the result inside the Output tags not as a string?


shopify,liquid
Here's what I am trying to accomplish: <ul class="site-nav__dropdown"> {% for childlink in linklists[child_list_handle].links %} this - {% assign color_from_settings = 'settings.collection_color_' | append: forloop.index %} used here - <li{% if childlink.active %} class="site-nav--active" {% else %} style="background-color: {{ color_from_settings }}" {% endif %}> <a href="{{ childlink.url }}" class="site-nav__link">{{ childlink.title...

Broadleaf - Extending DemoSite Admin - Add new Menu and Page


spring,e-commerce,broadleaf-commerce
I have been looking into Broadleaf since last couple of days. I have managed to run it on local tomcat with MySql. I have extended Entity for my custom requirement following Broadleaf's documentation. Now I want to add a menu option (in left menu) in admin. I have no clue...

Shopify API getting order by name or order_number


api,cakephp,shopify,restful-url
Im using a plugin for CakePHP to make the calls to obtain certain orders. I can call all orders with certain fields, but I was wondering how would I have to make the call to get the orders with a certain name or order_number? Here is the source for the...

Is it a good practise store the checkout steps fields in php $_SESSION?


php,session,e-commerce,checkout
I have my e-commerce site with three checkout steps, each button to continue is a POST action and redirect to the next step: if the user navigates by the checkout steps (click on the previous button for example), the form fields don´t show the data posted previously. This form fields...

Get a list of all magento catagories and their id's on screen when I visit a php file


php,magento,e-commerce
So I want to create a PHP file that will return a list of all product categories from magento and their id's when I visit this file. For example, when I visit mysite.com/category.php it should show me a list of all categories and their corresponding id's. I have searched stackoverflow...

Template script to make it visible only to admin on shopify


javascript,php,web-applications,shopify
I would like to make a template on shopify visible only to admins. I can make it visible to customers only, but need a code for admin only now. The code for customers I use is: {% unless customer %} {% if template contains 'customer' %} {% assign send_to_login =...

Can we install Shopify on localhost for development?


shopify
Can we install shopify on localhost for development ? like: we download opencart and can install on localhost for development. IS there any way for shopify ? ...

Google Tag Manager and dataLayer interraction


e-commerce,google-tag-manager,google-datalayer
I use GoogleTagManager script and dataLayer object. I read in documentation that dataLayer object has to be filled above the GTM script. But I need to add a product detail when the user chooses the product and it happens after the GTM script is loaded. If I use dataLayer.push(chosenObject) will...

Prestashop 1.6 product_list: get number of attached attribute combinations


php,e-commerce,prestashop
I'm building my first prestashop. I have a couple of products with attribute combinations that have an impact on the price. In list views, I would like to detect if a product has more than one combination attached to it, in order to display a 'from' before the price. I...

Shopify liquid get related blog posts


html,shopify,liquid,templating
In shopify I am using liquid templating to get blog posts which are related to products by their tags, like so: <ul> {% for article in blogs.blog.articles %} {% if article.tags contains product.handle %} <li><a href="{{ article.url }}"><p>{{ article.title }}</p></a></li> {% endif %} {% endfor %} </ul> However, if there...

Unable to call magento admin controller


php,magento,e-commerce,magento-1.9
I have created a custom module that adds two menus in catalog. I have also created a controller for one of the menu , but the controller never gets called but instead is redirected to the admin dashboard page. My question is some what related to this question Magento admin...

How to remove LineItem instance from an order (Spree)


ruby-on-rails,e-commerce,spree
I'm working with Spree, but I'm not completely familiar with the built-in methods. I'm trying to make it so that when params[:quantity] == 0, the line_item instance gets deleted and removed from the order. I've tried calling destroy! on the instance but that hasn't worked, as well as a few...

payment module not working in magento


magento,e-commerce,magento-1.9,magento-1.9.1,amazon-payments
I have a magento store, and it's payment module is not working. I can add my shipping method, but after submitting shipping method, it won't proceed to payment mode, I have enabled cash on delivery. and I have an amazon payment extension also. When I checked in console, there shows...

{{ content }} Liquid tag not showing blog posts


html,tags,jekyll,shopify,liquid
Link to repo: https://github.com/AlvSovereign/AlvSovereign.github.io Hi all I am a beginner using jekyll and new to web development, so please be patient with me. I am coding my portfolio site, with a link to my blog. The fully processed portfolio site sits in _site/index.html which contains a link to the blog...

FrontEnd Magento Hello World Not Working


php,magento,e-commerce
Please help with this newbie magento tutorial, I've been struggling with this for 2 days.. Using XAMPP 1.7 and magento 1.9.1... I already create the magento directory & file structure like this: -htdocs -magento -app -code -local -Practice -Mymodule -controllers IndexController.php -etc config.xml -etc -modules Practice_Mymodule.xml And this is the...

How do I change the title-Attribut in Shopify's liquid?


html,shopify,liquid
Can someone explain me how do I change the title-Attribut here. liquid code <ul class="material-nav"> {% for tag in collection.all_tags %} {% if current_tags contains tag %} <li class="active"> {{ tag | capitalize | link_to_tag: tag }} </li> {% else %} <li> {{ tag | capitalize | link_to_tag: tag }}...

Shopify: how to add a class depending on collection


collections,filtering,shopify,liquid
On a clients homepage they want 'all the products' listed with a load more button at the bottom. There are four categories and each has a different color associated. I want to pull in all the products by date listed order and apply a class to the product depending on...

Algorithm/formula to calculate Product ranking on a ecommerce website(Based on following criteria)


algorithm,elasticsearch,e-commerce,ranking,ranking-functions
I have been Working on algorithms and formulas to find out a score for the products available on my ecommerce website.Basically, I want to calculate some kind of score to rank the products when a user searches it. I'll give some background on the criteria i am planning to define...

Shopify - Update/Delete metafield via metafield API using PHP


php,curl,shopify
I've been stuck trying to update or delete a metafield that i created on user registration via the shopify customer API. At first i tried to update the metafield using the customer API but it told me that the metafield already existed and i cannot add it again. Then i...

Shopfy accessing all products from a collection on the product page


collections,shopify,product,liquid
I'm using Shopify as my eCommerce platform. My customer has some products that are related to each other. But don't think of a typical related products system, basically these products have parts, and those individual parts can be reordered separate from the product itself. The client wants to list all...

Native Mobile app for presta shop [closed]


php,android,e-commerce,prestashop-1.6
I want to develop a native android application for my PrestaShop store. I have been searching on Google for a while but all i found was third party applications that says they can create an application for mobile. The documentation doesn't provide a clear answer as well. Does prestashop provide...

Is there way in Shopify to categorize “Collections” in lists?


collections,tags,shopify,product,liquid
Say I want to show 2 different collection lists(just the titles with links to their relative pages) on 2 different pages in Shopify; is there a way in Shopify that can be done? As far as I can see, either I show all "Collections" on a page or none at...

Cloning an existing shopify site to a new site


clone,shopify
I want to be able to clone an instance of an existing shopify site into a new shopify site. (This is in order for me to create a test / staging environment) Are there are any tools or scripts out there which could help me achieve this? The clone should...

How to specify what “list” the product was added to cart from? Enhanced Ecommerce


javascript,google-analytics,e-commerce,implementation,product
Trying to implement Google Analytics Enhanced Ecommerce tracking for my website. How to specify what "list" the product was added to cart from? Here is the standard tracking code for adding the product to basket: // Called when a product is added to a shopping cart. function addToCart(product) { ga('ec:addProduct',...

ElasticSearch in e-commerce: multiple categories for a product


elasticsearch,e-commerce,categories
How do you index products like that in ElasticSearch? We've separated all documents based on the attributes (colour, brand, size, whatever users input), but all of them belong to a set of categories. May be one, may be 15. [0] => Array ( [product_id] => 123456 [product_name] => Shirt 1...

How to get the responses of an API call (shopify)?


ruby-on-rails,api,shopify
I've been using rails for about a week and have found numerous good tutorials but haven't found any info for my current problem. I have a webshop running and can access it via the shopify console: ShopifyAPI::Customer.find(674469828) -> will return the customer with the id 674469828 If I use the...

Why do I get “identify not verified” when browsing https pages with Chrome (v42) on Shopify.com


google-chrome,ssl,https,shopify
It is specifically the checkout that concerns me: https://checkout.shopify.com/5045549/checkouts/6321b0e319fdc3cab47b8ba2d1e30b46?_ga=1.255397768.1085821832.1430095488 When I'm on the cart page http://store.rockettags.com/cart and click the checkout button I'm taken to https://checkout.shopify.com and get the issue. Why am I getting the issue and how do I fix it please? I did a search and only found this...

Prestashop 1.6 display custom field in Feature Add/Edit form


php,smarty,e-commerce,prestashop,prestashop-1.6
I am able to display my custom field in Feature Value Add/Edit form by overriding AdminFeaturesController and overriding initFormFeatureValue() function. I want to do the same for Feature Add/Edit form but cannot find function to override. I tried renderForm() function but didn't work. Which file/class/controller/function should I look into to...

Data submitted to GA account doesn't appear in there


javascript,browser,google-analytics,e-commerce
I need to manually submit an ecommerce data to my Google Analytics Account, so I created an html file and opened in a browser: <html> <head> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','http://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-xxxxxxx-1', 'auto'); ga('send',...

Dx trouble writing output: already prepared… - Error in console


java,android,eclipse,e-commerce,braintree
braintree-api-1.6.1-full.jar android:minSdkVersion="14" android:targetSdkVersion="18" I need to implement braintree inside my android app which has no issues, but as I copy the braintree jar file, into my projects libs folder and import the necessary classes, my app crashes. Full error message in console: Dx trouble writing output: already prepared [2015-06-18...

meteor-shopify : expected String to be a Hash


javascript,meteor,shopify
I'm using froatsnook:shopify trying to modify a custom collection's metafields. Server JS /** * Modify Shopify Custom Collection Metafields * @request PUT /admin/custom_collections/#{id}.json * * @param {Number} collection_id * @param {Object} collection_data * @param {Function} callback */ modifyShopifyCustomCollectionMetafields: function(collection_id, collection_data, callback) { var meta = ShopifyAPI.modifyCustomCollection({ id: collection_id, custom_collection :...

Display item list in shopping cart using PHP


php,e-commerce,session-variables,shopping-cart
With the foreach loop I'm trying to connect to my database and display in a list the products that have been added to the cart. Each product has a product ID which is correctly working and being stored in the session variable through the cart.php. I can't figure out how...

403 Error when trying to remove products from Cart


php,server,e-commerce,opencart,cpanel
I am using a cPanel host and running PHP 5.5. Opencart version 1.5.1. When I try to remove a product from the cart I am getting a 403 forbidden error. This only seems to happen with products that have a lot of options and include text input options. I have...

Mailchimp Ecommerce360 Javascript Implementation


javascript,rest,e-commerce,mailchimp
Wondering if anyone can provide an example of how to pass a request to the /ecomm/order-add function of the Mailchimp API using javascript. This is critical for making use of Mailchimp's Ecommerce360 tracking. Here is documentation from Mailchimps API: https://apidocs.mailchimp.com/api/2.0/ecomm/order-add.php...

Uploading products from excel file


excel,import,e-commerce,product
I was wondering what is the best way of importing products into database. Product names have unique sku's. The Excel file may contain existing sku's. One way of doing import is: Read record from excel Check sku for existence in database table if already exists, update it or if not...